[Geoserver-devel] (no subject) (fwd)

Thanks, that pretty much answered my questions. While I have your
attention, can I display multiple shape files (eg:
GetMap&layers=topp:major_roads_unprojected;topp:bedrock_geology_of_california

Yeah, you can definitely display multiple layers. Check the WMS
specification to be sure, but I believe you just need corresponding styles
for each layer. If you have the source download you can create a war with
test.type=Demo, which contains 6 shapefiles, and in the Demo section of
the web config tool (http://localhost:8080/geoserver/demo.do), it has at
least one example of the URL needed. I'm going to try to get more of
these samples for 1.2.0, most of what I want for that release is making
sure that _everything_ is well documented (so please let me know all the
little things that could be added).

...), and is there a way or registring raster files (say ESRI .asc) files
in the catalog.xml? Thanks again for your help. John

No we don't yet have raster support. It should come along relatively
soon, like in a few months I'd imagine. GeoTools, the library we're based
on, is doing some good work on that front, and I imagine something useable
should come out soon, and then we just need to integrate with geoserver.

Chris

> Quoting harris@anonymised.com:
>
>> Hi,
>>
>> I'm a little confused about viewing shape files that have been loaded
>> into
>> the server. I have loeaded a shape file (the main roads of
>> california),
>> and it gets looaded without incidence. How, at this point do I view
>> it?
>> I looked at the demo with the bc roads and was confused by the
>> boundingbox
>> servlet parameter
>>
>> example:
>>
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> * what coordinate system do 489153,5433000,529000,5460816 refer to?
> It refers to the coordinate system specified in srs (spatial reference
> system) parameter - EPSG:27354. Granted that parameter is fairly
> ignored, as we have yet to implement reprojection, so the only valid
> epsg is the one that the data is stored in (but I don't think we raise
> an exception for requesting the wrong srs yet).
>
>> It would seem to me that if the info.xml file describes the shapefile
>> in
>> geocoordinates (lat/long) then the query should be in geocoordiantes
>> also
>> -- I'm probably missing something simple here.
> No, you're right, the query should be in geocoordinates. For the sample
> file the coordinates aren't in geocoordinates. I'm actually trying to
> find a second good sample file, that is in lat/long and that contains
> polygons instead of lines. If anyone has a nice small one, preferably
> with a string as at least one of the attributes, that is of the real
> world, then send it along to me.
>
>
>> So, as I was saying I loaded up the california roads without a hitch,
>> but
>> I'm not sure what boundingbox query prarmeters I should submit to the
>> servlet -- I tried some abitrary ones an got completly white png's.
> If the bounding box for lat/long for you info.xml file then the bbox
> param should be: BBOX=-124.26521347,32.54218934,-114.48032229,42.002565
>
> And actually, I just tested it out, thanks a ton for having a server
> available on the internet. This seemed to work for me:
>
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-124.26521347,32.54218934,-114.48032229,42.002565&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>
> The best way to figure out the bbox to use is by issueing a GetFeature
> request:
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wfs?request=getFeature&typename=topp:major_roads_unprojected
> And the boundedBy element for the collection will have a Box, which is
> the limits of the data set. Just use that box, in the same order. If
> you copy and paste you just need to change the middle space to a comma.
>
> And I need to make a tutorial on how to do this, add a shapefile and
> visualize the data, as I've answered this too many times :slight_smile: You're
> right in asking though, as we don't document this well anywhere, and
> it's one of the most common operations.
>
> best regards,
>
> Chris
>
>
>
> ----------------------------------------------------------
> This mail sent through IMP: https://webmail.limegroup.com/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

--

Hi Chris,

I'll look at that demo (the one that contains the 6 shape files), I assume
thats on the CVS head. I used the geotools library a couple of years ago
to render .asc files in an applet, I dont think it would be much to get it
to render a png file or something. Or we could just superimpose the shape
file on a georegistered file -- a really easy thing in java:

http://www.numericsolutions.com/gazelle/index.html

src: http://dredge.homelinux.com:8000/cgi-bin/cvsweb.cgi/mapplotter-servlet/

let me know if you'd like a hand.

John

Thanks, that pretty much answered my questions. While I have your
attention, can I display multiple shape files (eg:
GetMap&layers=topp:major_roads_unprojected;topp:bedrock_geology_of_california

Yeah, you can definitely display multiple layers. Check the WMS
specification to be sure, but I believe you just need corresponding styles
for each layer. If you have the source download you can create a war with
test.type=Demo, which contains 6 shapefiles, and in the Demo section of
the web config tool (http://localhost:8080/geoserver/demo.do), it has at
least one example of the URL needed. I'm going to try to get more of
these samples for 1.2.0, most of what I want for that release is making
sure that _everything_ is well documented (so please let me know all the
little things that could be added).

...), and is there a way or registring raster files (say ESRI .asc)
files
in the catalog.xml? Thanks again for your help. John

No we don't yet have raster support. It should come along relatively
soon, like in a few months I'd imagine. GeoTools, the library we're based
on, is doing some good work on that front, and I imagine something useable
should come out soon, and then we just need to integrate with geoserver.

Chris

> Quoting harris@anonymised.com:
>
>> Hi,
>>
>> I'm a little confused about viewing shape files that have been loaded
>> into
>> the server. I have loeaded a shape file (the main roads of
>> california),
>> and it gets looaded without incidence. How, at this point do I view
>> it?
>> I looked at the demo with the bc roads and was confused by the
>> boundingbox
>> servlet parameter
>>
>> example:
>>
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> * what coordinate system do 489153,5433000,529000,5460816 refer to?
> It refers to the coordinate system specified in srs (spatial reference
> system) parameter - EPSG:27354. Granted that parameter is fairly
> ignored, as we have yet to implement reprojection, so the only valid
> epsg is the one that the data is stored in (but I don't think we raise
> an exception for requesting the wrong srs yet).
>
>> It would seem to me that if the info.xml file describes the shapefile
>> in
>> geocoordinates (lat/long) then the query should be in geocoordiantes
>> also
>> -- I'm probably missing something simple here.
> No, you're right, the query should be in geocoordinates. For the
sample
> file the coordinates aren't in geocoordinates. I'm actually trying to
> find a second good sample file, that is in lat/long and that contains
> polygons instead of lines. If anyone has a nice small one, preferably
> with a string as at least one of the attributes, that is of the real
> world, then send it along to me.
>
>
>> So, as I was saying I loaded up the california roads without a hitch,
>> but
>> I'm not sure what boundingbox query prarmeters I should submit to the
>> servlet -- I tried some abitrary ones an got completly white png's.
> If the bounding box for lat/long for you info.xml file then the bbox
> param should be:
BBOX=-124.26521347,32.54218934,-114.48032229,42.002565
>
> And actually, I just tested it out, thanks a ton for having a server
> available on the internet. This seemed to work for me:
>
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-124.26521347,32.54218934,-114.48032229,42.002565&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>
> The best way to figure out the bbox to use is by issueing a GetFeature
> request:
> http://nebulous.nceas.ucsb.edu:8070/geoserver/wfs?request=getFeature&typename=topp:major_roads_unprojected
> And the boundedBy element for the collection will have a Box, which is
> the limits of the data set. Just use that box, in the same order. If
> you copy and paste you just need to change the middle space to a
comma.
>
> And I need to make a tutorial on how to do this, add a shapefile and
> visualize the data, as I've answered this too many times :slight_smile: You're
> right in asking though, as we don't document this well anywhere, and
> it's one of the most common operations.
>
> best regards,
>
> Chris
>
>
>
> ----------------------------------------------------------
> This mail sent through IMP: https://webmail.limegroup.com/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

--

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

From Windows to Linux, servers to mobile, InstallShield X is the one

installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
---------------------------------
John Harris
Numeric Solutions
2506 Bayshore Ave
Ventura, CA 93001
805.407.7644
harris@anonymised.com
http://www.numericsolutions.com
---------------------------------

I'll look at that demo (the one that contains the 6 shape files), I assume
thats on the CVS head.

Yes, it's also on the source download. You just need to change the
test.type variable in ant to Demo to get it to compile with those shape
files.

I used the geotools library a couple of years ago
to render .asc files in an applet, I dont think it would be much to get it
to render a png file or something.

Ok, I didn't tell the whole truth, we're actually using GeoTools 2. The
data model for coverages is being rewritten. GeoServer helped to rewrite
the vector data model, as we switched from DataSource to DataStore, to
allow streaming data access, not holding anything in memory. The
raster/coverage stuff had been ungracefully smushed into DataSource, but
really needs its own API. GeoServer, having upgraded to DataStore, could
no longer use the hacked raster DataSources (well, we probably could find
a way, but it would be hacking GeoServer to take a step backwards, the
answer should be to improve the raster data access).

Jody (cced on this email) and his team are undertaking that task right
now, with GridCoverageExchange, I believe. Once that is done we should be
able to roll it fairly easily into GeoServer.

Or we could just superimpose the shape
file on a georegistered file -- a really easy thing in java:

http://www.numericsolutions.com/gazelle/index.html

src: http://dredge.homelinux.com:8000/cgi-bin/cvsweb.cgi/mapplotter-servlet/

let me know if you'd like a hand.

Jody? Any place he could help out? I think the task is more figuring out
a solid, generic way to access the georegistered files, though I think
they're mostly done with that, so there might be a good opportunity for
you to help out, figure out how to render a png file with the new
interface. And we also need to figure out how to plug it in to GeoServer,
which I haven't looked into yet - but if they design(ed?) the interface
well then it shouldn't be too hard.

Chris

John

>> Thanks, that pretty much answered my questions. While I have your
>> attention, can I display multiple shape files (eg:
>> GetMap&layers=topp:major_roads_unprojected;topp:bedrock_geology_of_california
> Yeah, you can definitely display multiple layers. Check the WMS
> specification to be sure, but I believe you just need corresponding styles
> for each layer. If you have the source download you can create a war with
> test.type=Demo, which contains 6 shapefiles, and in the Demo section of
> the web config tool (http://localhost:8080/geoserver/demo.do), it has at
> least one example of the URL needed. I'm going to try to get more of
> these samples for 1.2.0, most of what I want for that release is making
> sure that _everything_ is well documented (so please let me know all the
> little things that could be added).
>
>> ...), and is there a way or registring raster files (say ESRI .asc)
>> files
>> in the catalog.xml? Thanks again for your help. John
> No we don't yet have raster support. It should come along relatively
> soon, like in a few months I'd imagine. GeoTools, the library we're based
> on, is doing some good work on that front, and I imagine something useable
> should come out soon, and then we just need to integrate with geoserver.
>
> Chris
>
>>
>>
>> > Quoting harris@anonymised.com:
>> >
>> >> Hi,
>> >>
>> >> I'm a little confused about viewing shape files that have been loaded
>> >> into
>> >> the server. I have loeaded a shape file (the main roads of
>> >> california),
>> >> and it gets looaded without incidence. How, at this point do I view
>> >> it?
>> >> I looked at the demo with the bc roads and was confused by the
>> >> boundingbox
>> >> servlet parameter
>> >>
>> >> example:
>> >>
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >> * what coordinate system do 489153,5433000,529000,5460816 refer to?
>> > It refers to the coordinate system specified in srs (spatial reference
>> > system) parameter - EPSG:27354. Granted that parameter is fairly
>> > ignored, as we have yet to implement reprojection, so the only valid
>> > epsg is the one that the data is stored in (but I don't think we raise
>> > an exception for requesting the wrong srs yet).
>> >
>> >> It would seem to me that if the info.xml file describes the shapefile
>> >> in
>> >> geocoordinates (lat/long) then the query should be in geocoordiantes
>> >> also
>> >> -- I'm probably missing something simple here.
>> > No, you're right, the query should be in geocoordinates. For the
>> sample
>> > file the coordinates aren't in geocoordinates. I'm actually trying to
>> > find a second good sample file, that is in lat/long and that contains
>> > polygons instead of lines. If anyone has a nice small one, preferably
>> > with a string as at least one of the attributes, that is of the real
>> > world, then send it along to me.
>> >
>> >
>> >> So, as I was saying I loaded up the california roads without a hitch,
>> >> but
>> >> I'm not sure what boundingbox query prarmeters I should submit to the
>> >> servlet -- I tried some abitrary ones an got completly white png's.
>> > If the bounding box for lat/long for you info.xml file then the bbox
>> > param should be:
>> BBOX=-124.26521347,32.54218934,-114.48032229,42.002565
>> >
>> > And actually, I just tested it out, thanks a ton for having a server
>> > available on the internet. This seemed to work for me:
>> >
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-124.26521347,32.54218934,-114.48032229,42.002565&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >
>> > The best way to figure out the bbox to use is by issueing a GetFeature
>> > request:
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wfs?request=getFeature&typename=topp:major_roads_unprojected
>> > And the boundedBy element for the collection will have a Box, which is
>> > the limits of the data set. Just use that box, in the same order. If
>> > you copy and paste you just need to change the middle space to a
>> comma.
>> >
>> > And I need to make a tutorial on how to do this, add a shapefile and
>> > visualize the data, as I've answered this too many times :slight_smile: You're
>> > right in asking though, as we don't document this well anywhere, and
>> > it's one of the most common operations.
>> >
>> > best regards,
>> >
>> > Chris
>> >
>> >
>> >
>> > ----------------------------------------------------------
>> > This mail sent through IMP: https://webmail.limegroup.com/
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email is sponsored by the new InstallShield X.
>> >>From Windows to Linux, servers to mobile, InstallShield X is the one
>> > installation-authoring solution that does it all. Learn more and
>> > evaluate today! http://www.installshield.com/Dev2Dev/0504
>> > _______________________________________________
>> > Geoserver-devel mailing list
>> > Geoserver-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>> >
>>
>>
>>
>
> --
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

--

Hi Chris, Cool thanks for the info. We are primarily interested in using
vector objects, so geoserver seems like a good tool for us (we are already
using java servlets), but I expect that we'll need raster support in the
future. I did look at the mapserver project that looks pretty cool, but I
know that the people deploying will have issues with having to recompile
it for every platform. Thanks again. John

I'll look at that demo (the one that contains the 6 shape files), I
assume
thats on the CVS head.

Yes, it's also on the source download. You just need to change the
test.type variable in ant to Demo to get it to compile with those shape
files.

I used the geotools library a couple of years ago
to render .asc files in an applet, I dont think it would be much to get
it
to render a png file or something.

Ok, I didn't tell the whole truth, we're actually using GeoTools 2. The
data model for coverages is being rewritten. GeoServer helped to rewrite
the vector data model, as we switched from DataSource to DataStore, to
allow streaming data access, not holding anything in memory. The
raster/coverage stuff had been ungracefully smushed into DataSource, but
really needs its own API. GeoServer, having upgraded to DataStore, could
no longer use the hacked raster DataSources (well, we probably could find
a way, but it would be hacking GeoServer to take a step backwards, the
answer should be to improve the raster data access).

Jody (cced on this email) and his team are undertaking that task right
now, with GridCoverageExchange, I believe. Once that is done we should be
able to roll it fairly easily into GeoServer.

Or we could just superimpose the shape
file on a georegistered file -- a really easy thing in java:

http://www.numericsolutions.com/gazelle/index.html

src:
http://dredge.homelinux.com:8000/cgi-bin/cvsweb.cgi/mapplotter-servlet/

let me know if you'd like a hand.

Jody? Any place he could help out? I think the task is more figuring out
a solid, generic way to access the georegistered files, though I think
they're mostly done with that, so there might be a good opportunity for
you to help out, figure out how to render a png file with the new
interface. And we also need to figure out how to plug it in to GeoServer,
which I haven't looked into yet - but if they design(ed?) the interface
well then it shouldn't be too hard.

Chris

John

>> Thanks, that pretty much answered my questions. While I have your
>> attention, can I display multiple shape files (eg:
>> GetMap&layers=topp:major_roads_unprojected;topp:bedrock_geology_of_california
> Yeah, you can definitely display multiple layers. Check the WMS
> specification to be sure, but I believe you just need corresponding
styles
> for each layer. If you have the source download you can create a war
with
> test.type=Demo, which contains 6 shapefiles, and in the Demo section
of
> the web config tool (http://localhost:8080/geoserver/demo.do), it has
at
> least one example of the URL needed. I'm going to try to get more of
> these samples for 1.2.0, most of what I want for that release is
making
> sure that _everything_ is well documented (so please let me know all
the
> little things that could be added).
>
>> ...), and is there a way or registring raster files (say ESRI .asc)
>> files
>> in the catalog.xml? Thanks again for your help. John
> No we don't yet have raster support. It should come along relatively
> soon, like in a few months I'd imagine. GeoTools, the library we're
based
> on, is doing some good work on that front, and I imagine something
useable
> should come out soon, and then we just need to integrate with
geoserver.
>
> Chris
>
>>
>>
>> > Quoting harris@anonymised.com:
>> >
>> >> Hi,
>> >>
>> >> I'm a little confused about viewing shape files that have been
loaded
>> >> into
>> >> the server. I have loeaded a shape file (the main roads of
>> >> california),
>> >> and it gets looaded without incidence. How, at this point do I
view
>> >> it?
>> >> I looked at the demo with the bc roads and was confused by the
>> >> boundingbox
>> >> servlet parameter
>> >>
>> >> example:
>> >>
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >> * what coordinate system do 489153,5433000,529000,5460816 refer
to?
>> > It refers to the coordinate system specified in srs (spatial
reference
>> > system) parameter - EPSG:27354. Granted that parameter is fairly
>> > ignored, as we have yet to implement reprojection, so the only
valid
>> > epsg is the one that the data is stored in (but I don't think we
raise
>> > an exception for requesting the wrong srs yet).
>> >
>> >> It would seem to me that if the info.xml file describes the
shapefile
>> >> in
>> >> geocoordinates (lat/long) then the query should be in
geocoordiantes
>> >> also
>> >> -- I'm probably missing something simple here.
>> > No, you're right, the query should be in geocoordinates. For the
>> sample
>> > file the coordinates aren't in geocoordinates. I'm actually trying
to
>> > find a second good sample file, that is in lat/long and that
contains
>> > polygons instead of lines. If anyone has a nice small one,
preferably
>> > with a string as at least one of the attributes, that is of the
real
>> > world, then send it along to me.
>> >
>> >
>> >> So, as I was saying I loaded up the california roads without a
hitch,
>> >> but
>> >> I'm not sure what boundingbox query prarmeters I should submit to
the
>> >> servlet -- I tried some abitrary ones an got completly white
png's.
>> > If the bounding box for lat/long for you info.xml file then the
bbox
>> > param should be:
>> BBOX=-124.26521347,32.54218934,-114.48032229,42.002565
>> >
>> > And actually, I just tested it out, thanks a ton for having a
server
>> > available on the internet. This seemed to work for me:
>> >
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-124.26521347,32.54218934,-114.48032229,42.002565&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >
>> > The best way to figure out the bbox to use is by issueing a
GetFeature
>> > request:
>> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wfs?request=getFeature&typename=topp:major_roads_unprojected
>> > And the boundedBy element for the collection will have a Box, which
is
>> > the limits of the data set. Just use that box, in the same order.
If
>> > you copy and paste you just need to change the middle space to a
>> comma.
>> >
>> > And I need to make a tutorial on how to do this, add a shapefile
and
>> > visualize the data, as I've answered this too many times :slight_smile: You're
>> > right in asking though, as we don't document this well anywhere,
and
>> > it's one of the most common operations.
>> >
>> > best regards,
>> >
>> > Chris
>> >
>> >
>> >
>> > ----------------------------------------------------------
>> > This mail sent through IMP: https://webmail.limegroup.com/
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email is sponsored by the new InstallShield X.
>> >>From Windows to Linux, servers to mobile, InstallShield X is the
one
>> > installation-authoring solution that does it all. Learn more and
>> > evaluate today! http://www.installshield.com/Dev2Dev/0504
>> > _______________________________________________
>> > Geoserver-devel mailing list
>> > Geoserver-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>> >
>>
>>
>>
>
> --
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

--

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

From Windows to Linux, servers to mobile, InstallShield X is the one

installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
---------------------------------
John Harris
Numeric Solutions
2506 Bayshore Ave
Ventura, CA 93001
805.407.7644
harris@anonymised.com
http://www.numericsolutions.com
---------------------------------

Hi Chris, Cool thanks for the info. We are primarily interested in using
vector objects, so geoserver seems like a good tool for us (we are already
using java servlets), but I expect that we'll need raster support in the
future. I did look at the mapserver project that looks pretty cool, but I
know that the people deploying will have issues with having to recompile
it for every platform.

Yeah, using mapserver and geoserver against the same datasources is
currently the best way - that's what moximedia does -
http://www.moximedia.com:8080/imf-ows/imf.jsp?site=gs_users. But I do
definitely hope we can get geoserver wms good enough to replace mapserver.
I doubt we'll get quite as good as mapserver, as they've been working on
it for years, but I'd like geoserver to be comparable, with raster
support, so that people can get started easily with geoserver, see the
power of a good WMS, and then upgrade to MapServer if they really need the
speed and extra capabilities that it offers.

Chris

Thanks again. John

>> I'll look at that demo (the one that contains the 6 shape files), I
>> assume
>> thats on the CVS head.
> Yes, it's also on the source download. You just need to change the
> test.type variable in ant to Demo to get it to compile with those shape
> files.
>
>> I used the geotools library a couple of years ago
>> to render .asc files in an applet, I dont think it would be much to get
>> it
>> to render a png file or something.
> Ok, I didn't tell the whole truth, we're actually using GeoTools 2. The
> data model for coverages is being rewritten. GeoServer helped to rewrite
> the vector data model, as we switched from DataSource to DataStore, to
> allow streaming data access, not holding anything in memory. The
> raster/coverage stuff had been ungracefully smushed into DataSource, but
> really needs its own API. GeoServer, having upgraded to DataStore, could
> no longer use the hacked raster DataSources (well, we probably could find
> a way, but it would be hacking GeoServer to take a step backwards, the
> answer should be to improve the raster data access).
>
> Jody (cced on this email) and his team are undertaking that task right
> now, with GridCoverageExchange, I believe. Once that is done we should be
> able to roll it fairly easily into GeoServer.
>
>> Or we could just superimpose the shape
>> file on a georegistered file -- a really easy thing in java:
>>
>> http://www.numericsolutions.com/gazelle/index.html
>>
>> src:
>> http://dredge.homelinux.com:8000/cgi-bin/cvsweb.cgi/mapplotter-servlet/
>>
>> let me know if you'd like a hand.
>
> Jody? Any place he could help out? I think the task is more figuring out
> a solid, generic way to access the georegistered files, though I think
> they're mostly done with that, so there might be a good opportunity for
> you to help out, figure out how to render a png file with the new
> interface. And we also need to figure out how to plug it in to GeoServer,
> which I haven't looked into yet - but if they design(ed?) the interface
> well then it shouldn't be too hard.
>
> Chris
>
>
>>
>> John
>>
>>
>> >> Thanks, that pretty much answered my questions. While I have your
>> >> attention, can I display multiple shape files (eg:
>> >> GetMap&layers=topp:major_roads_unprojected;topp:bedrock_geology_of_california
>> > Yeah, you can definitely display multiple layers. Check the WMS
>> > specification to be sure, but I believe you just need corresponding
>> styles
>> > for each layer. If you have the source download you can create a war
>> with
>> > test.type=Demo, which contains 6 shapefiles, and in the Demo section
>> of
>> > the web config tool (http://localhost:8080/geoserver/demo.do), it has
>> at
>> > least one example of the URL needed. I'm going to try to get more of
>> > these samples for 1.2.0, most of what I want for that release is
>> making
>> > sure that _everything_ is well documented (so please let me know all
>> the
>> > little things that could be added).
>> >
>> >> ...), and is there a way or registring raster files (say ESRI .asc)
>> >> files
>> >> in the catalog.xml? Thanks again for your help. John
>> > No we don't yet have raster support. It should come along relatively
>> > soon, like in a few months I'd imagine. GeoTools, the library we're
>> based
>> > on, is doing some good work on that front, and I imagine something
>> useable
>> > should come out soon, and then we just need to integrate with
>> geoserver.
>> >
>> > Chris
>> >
>> >>
>> >>
>> >> > Quoting harris@anonymised.com:
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> I'm a little confused about viewing shape files that have been
>> loaded
>> >> >> into
>> >> >> the server. I have loeaded a shape file (the main roads of
>> >> >> california),
>> >> >> and it gets looaded without incidence. How, at this point do I
>> view
>> >> >> it?
>> >> >> I looked at the demo with the bc roads and was confused by the
>> >> >> boundingbox
>> >> >> servlet parameter
>> >> >>
>> >> >> example:
>> >> >>
>> >> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >> >> * what coordinate system do 489153,5433000,529000,5460816 refer
>> to?
>> >> > It refers to the coordinate system specified in srs (spatial
>> reference
>> >> > system) parameter - EPSG:27354. Granted that parameter is fairly
>> >> > ignored, as we have yet to implement reprojection, so the only
>> valid
>> >> > epsg is the one that the data is stored in (but I don't think we
>> raise
>> >> > an exception for requesting the wrong srs yet).
>> >> >
>> >> >> It would seem to me that if the info.xml file describes the
>> shapefile
>> >> >> in
>> >> >> geocoordinates (lat/long) then the query should be in
>> geocoordiantes
>> >> >> also
>> >> >> -- I'm probably missing something simple here.
>> >> > No, you're right, the query should be in geocoordinates. For the
>> >> sample
>> >> > file the coordinates aren't in geocoordinates. I'm actually trying
>> to
>> >> > find a second good sample file, that is in lat/long and that
>> contains
>> >> > polygons instead of lines. If anyone has a nice small one,
>> preferably
>> >> > with a string as at least one of the attributes, that is of the
>> real
>> >> > world, then send it along to me.
>> >> >
>> >> >
>> >> >> So, as I was saying I loaded up the california roads without a
>> hitch,
>> >> >> but
>> >> >> I'm not sure what boundingbox query prarmeters I should submit to
>> the
>> >> >> servlet -- I tried some abitrary ones an got completly white
>> png's.
>> >> > If the bounding box for lat/long for you info.xml file then the
>> bbox
>> >> > param should be:
>> >> BBOX=-124.26521347,32.54218934,-114.48032229,42.002565
>> >> >
>> >> > And actually, I just tested it out, thanks a ton for having a
>> server
>> >> > available on the internet. This seemed to work for me:
>> >> >
>> >> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-124.26521347,32.54218934,-114.48032229,42.002565&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
>> >> >
>> >> > The best way to figure out the bbox to use is by issueing a
>> GetFeature
>> >> > request:
>> >> > http://nebulous.nceas.ucsb.edu:8070/geoserver/wfs?request=getFeature&typename=topp:major_roads_unprojected
>> >> > And the boundedBy element for the collection will have a Box, which
>> is
>> >> > the limits of the data set. Just use that box, in the same order.
>> If
>> >> > you copy and paste you just need to change the middle space to a
>> >> comma.
>> >> >
>> >> > And I need to make a tutorial on how to do this, add a shapefile
>> and
>> >> > visualize the data, as I've answered this too many times :slight_smile: You're
>> >> > right in asking though, as we don't document this well anywhere,
>> and
>> >> > it's one of the most common operations.
>> >> >
>> >> > best regards,
>> >> >
>> >> > Chris
>> >> >
>> >> >
>> >> >
>> >> > ----------------------------------------------------------
>> >> > This mail sent through IMP: https://webmail.limegroup.com/
>> >> >
>> >> >
>> >> > -------------------------------------------------------
>> >> > This SF.Net email is sponsored by the new InstallShield X.
>> >> >>From Windows to Linux, servers to mobile, InstallShield X is the
>> one
>> >> > installation-authoring solution that does it all. Learn more and
>> >> > evaluate today! http://www.installshield.com/Dev2Dev/0504
>> >> > _______________________________________________
>> >> > Geoserver-devel mailing list
>> >> > Geoserver-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>> >> >
>> >>
>> >>
>> >>
>> >
>> > --
>> >
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email is sponsored by the new InstallShield X.
>> >>From Windows to Linux, servers to mobile, InstallShield X is the one
>> > installation-authoring solution that does it all. Learn more and
>> > evaluate today! http://www.installshield.com/Dev2Dev/0504
>> > _______________________________________________
>> > Geoserver-devel mailing list
>> > Geoserver-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>> >
>>
>>
>>
>
> --
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

--