Ciao Dan,
please, read below....
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:      +39 0584962313
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------



On Thu, Jan 6, 2011 at 10:49 PM, Dan Lyke <[email protected]> wrote:
> This could easily be silly newbie/non-geographer questions, but the docs
> I'm finding with Google appear to all be about the older GeoServer. It
> could also be that GeoServer isn't the right tool for what I'd like to
> do, to be able to drop this data over an OpenLayers map in epsg:900913,
> or view it in Google Earth (and let that figure out the projection
> stuff).
>

which version are you playing with?

> I've got a subdirectory full of .jpg and .jgw files. The .jgw files
> look like:
>
>  0.250
>  0.000
>  0.000
>  -0.250
>  6366000.1250
>  1859999.8750
>
> In Geoserver 2.1b3 I go to "Stores->Add New Store->WorldImage", and
> under "Connection Parameters" I browse to one of the .jpg files.


Two things:

-1- jpeg format is relatively bad for gis visualization purposes, I
would rather go to geotiff with inner tiling and overview
-2- it looks like your data is in a projected coordinate reference
system, but I see you are missing the prj file with the definition of
the crs. This can cause errors when rendering

>
> First question: How do I do say "everything in this subdirectory"?


If your imagery consists of similar (in terms of color model,
resolution, crs) images then you could use the imagemosaic plugin
and point it to the directory that contains them. An index should be
created on the fly for that directory including what we manage to
index.

>
> Then I go to publish that layer. Based on the shape files I got, I put
> "EPSG:2226" in "Declared SRS", the numbers from the .jgw files appear
> to have populated the "Native Bounding Box" fields, so underneath
> "Lat/Lon Bounding Box" I mash "Compute from native bounds" and end up
> with reasonable looking lat/lon data.
>
> Now how do I view that raster data?
>
> If I go to "Layer Preview" I can see the layer with "OpenLayers" and
> "KML" links. The "OpenLayers" link brings up a blank OpenLayers map.
> Zooming out doesn't help.

This might mean that the CRS is incorrect or has not been provided for
your data.

>
> The "KML" link sends me a ".kmz" which is really an unzipped KML file
> that contains a URL as CDATA. This KML doesn't load in Google Earth, so
> I looked at it directly, and when I use "wget" to retrive the data from
> the URL in the KML, I get an XML document which says:
>
>   <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
>   ServiceExceptionReport SYSTEM
>   
> "http://www.petalumaopen.com:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>   <ServiceExceptionReport version="1.1.1" >   <ServiceException
>   code="MissingBBox">
>   GetMap requests must include a BBOX parameter.
>

Same as above.

Ciao,
Simone.

> Thanks!
>
> Dan
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to