[Geoserver-users] FW: GeoServer and NOAA Raster & Vector Charts

Hi Chris,

NOAA has a WMS for the vector ENC.
http://ocs-spatial.ncd.noaa.gov/wmsconnector/com.esri.wms.Esrimap/encdirect?
Service=WMS&Version=1.1.1&Request=GetCapabilities

You can probably use uDig to look at the ENC with other backgrounds with
other overlays. I haven't run across a NOAA raster service for ENC but you
might be able to find one.

randy

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Justin
Deoliveira
Sent: Monday, February 25, 2008 6:13 PM
To: Chris H
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer and NOAA Raster & Vector Charts

Hi Chris,

Interesting problem!! Unfortunately BSB is a format that
geotools/geoserver does not handle. However doing some searching it
seems that gdal does:

http://home.gdal.org/projects/bsb/index.html

So you have two choices. You can:

(1) Use MapServer
(2) Convert the files to a format that GeoServer can understand like
GeoTIFF. (example on the above page).

Hope that helps. Feel free to keep the questions coming.

-Justin

Chris H wrote:

Greets:

Brand new to the list as I spend the weekend researching map servers. Here

is

the scenario that I am contemplating. A group of us are going sailing down

the eastern seaboard from Canada to the Caribbean and the electronic
navigation system and charts have been acquired. All standard stuff

nothing

fancy.

The problem is that in order to view the charts for planning or discussion

you

need to fire up the electronic charting system which in general do not
provide good high level overviews. They are good for course planning,
tracking and route planning gps integration etc.

To overcome this problem as there are several of us onboard is to prepare

a

map server that displays the NOAA BSB Raster and Vector charts as an

overlay

at the appropriate zoom level of the eastern seaboard and caribbean

regions.

This allows for both a high level view as well as detailed view in a
standalone application that can be used in addition too the standard
navigation packages which use the same charts. As everyone will have

putters

on board and I run linux its simple to create an onboard wireless network.

So before I go down this route and spend copious amounts of time learning

all

the details of charts, map servers, java, tomcat, postgis/postgresql etc I

was wondering: first is this even feasible as I see no google data
on "geosever and NOAA BSB raster or vector charts" even though both should

be

supported. Secondly is there perhaps a simpler solution to creating a
functional mapserver used primarily for reviewing and displaying data in

this

standard format and in a multi user environment.

Thanks for any information or insights that you may wish to share.

Best regards

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Monday 25 February 2008 09:26:21 pm Randy George wrote:

Hi Chris,

You can probably use uDig to look at the ENC with other backgrounds with
other overlays.

Thanks Randy.

What an application. Nothing like the enthusiasm of a nube..:slight_smile: Off to learn
this one.

later
--
/ch

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being ‘sessionid’ just a name for a filter i apply).

Have you got any idea?

Thanks

Andrea Maschio

Not sure i quite understand what you mean? You can filter kml just like you filter a normal wms request? Is that what you mean?

Or are you referring to the ability to do "stored" or "named" filters?

-Justin

Andrea Maschio wrote:

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being 'sessionid' just a name for a filter i apply).

Have you got any idea?

Thanks

Andrea Maschio
!DSPAM:4007,47cd7dd659231637810514!

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

!DSPAM:4007,47cd7dd659231637810514!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47cd7dd659231637810514!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

No, thanks Justin. I mean simply filter a normal request. I have tried to put a filter in my page ina KML link like this:

http://suppa.dyndns.org:8080/geoserver/wms/kml_reflect?layers=topp:resultsgeo_retepd&filter=<Filter><PropertyIsEqualTo><PropertyName>sessionid</PropertyName><Literal><%25%3Drequest.getSession().getId()%25></Literal></PropertyIsEqualTo></Filter>

but I have an error:

java.lang.IllegalArgumentException: Only the following delimiters are supported: =, \)\(, , &
  org.geoserver.ows.util.KvpUtils.readFlat(KvpUtils.java:191)
  org.vfny.geoserver.util.requests.readers.KvpRequestReader.readFlat(KvpRequestReader.java:193)
  org.vfny.geoserver.util.requests.readers.KvpRequestReader.readOGCFilter(KvpRequestReader.java:397)
  org.vfny.geoserver.wms.requests.GetMapKvpReader.parseFilterParam(GetMapKvpReader.java:986)
  org.vfny.geoserver.wms.requests.GetMapKvpReader.parseOptionalParameters(GetMapKvpReader.java:277)
  org.vfny.geoserver.wms.requests.GetKMLReflectKvpReader.parseOptionalParameters(GetKMLReflectKvpReader.java:44)
  org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:217)
  org.vfny.geoserver.wms.servlets.KMLReflector.doGet(KMLReflector.java:153)

So i thought it was not so simple as filtering in the url like in a wms request.
Thanks
Andrea

Il giorno 04/mar/08, alle ore 18:45, Justin Deoliveira ha scritto:

Not sure i quite understand what you mean? You can filter kml just like you filter a normal wms request? Is that what you mean?

Or are you referring to the ability to do "stored" or "named" filters?

-Justin

Andrea Maschio wrote:

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being 'sessionid' just a name for a filter i apply).
Have you got any idea?
Thanks
Andrea Maschio
!DSPAM:4007,47cd7dd659231637810514!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
!DSPAM:4007,47cd7dd659231637810514!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,47cd7dd659231637810514!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Andrea,

Which version of GEoServer are you using. There was a bug released with 1.6.0 which prevents you from applying a filter or a cql_filter to a kml reflector request. Workarounds:

1) Use the "wms reflector", as so:

http://…/geoserver/wms/reflect?format=kml&layers=topp:results&filter=…

2) Upgrade to 1.6.1.

Let us know if that fixes the problem.

-Justin

Andrea Maschio wrote:

No, thanks Justin. I mean simply filter a normal request. I have tried to put a filter in my page ina KML link like this:

http://suppa.dyndns.org:8080/geoserver/wms/kml_reflect?layers=topp:resultsgeo_retepd&filter=<Filter><PropertyIsEqualTo><PropertyName>sessionid</PropertyName><Literal><%25%3Drequest.getSession().getId()%25></Literal></PropertyIsEqualTo></Filter>

but I have an error:

java.lang.IllegalArgumentException: Only the following delimiters are supported: =, \)\(, , &
    org.geoserver.ows.util.KvpUtils.readFlat(KvpUtils.java:191)
    org.vfny.geoserver.util.requests.readers.KvpRequestReader.readFlat(KvpRequestReader.java:193)

    org.vfny.geoserver.util.requests.readers.KvpRequestReader.readOGCFilter(KvpRequestReader.java:397)

    org.vfny.geoserver.wms.requests.GetMapKvpReader.parseFilterParam(GetMapKvpReader.java:986)

    org.vfny.geoserver.wms.requests.GetMapKvpReader.parseOptionalParameters(GetMapKvpReader.java:277)

    org.vfny.geoserver.wms.requests.GetKMLReflectKvpReader.parseOptionalParameters(GetKMLReflectKvpReader.java:44)

    org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:217)

    org.vfny.geoserver.wms.servlets.KMLReflector.doGet(KMLReflector.java:153)

So i thought it was not so simple as filtering in the url like in a wms request.
Thanks
Andrea

Il giorno 04/mar/08, alle ore 18:45, Justin Deoliveira ha scritto:

Not sure i quite understand what you mean? You can filter kml just like you filter a normal wms request? Is that what you mean?

Or are you referring to the ability to do "stored" or "named" filters?

-Justin

Andrea Maschio wrote:

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being 'sessionid' just a name for a filter i apply).
Have you got any idea?
Thanks
Andrea Maschio

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

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
!DSPAM:4007,47cd7dd659231637810514!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,47cd7dd659231637810514!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

!DSPAM:4007,47cdca59259166491211187!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Mmh. Actually, i upgraded to 1.6.2, but the cql_filter doesn’t seem to work:

this is my link

KML  

isn’t it as it is supposed to be?

Thanks
Andrea

Il giorno 05/mar/08, alle ore 14:42, Justin Deoliveira ha scritto:

Hi Andrea,

Which version of GEoServer are you using. There was a bug released with 1.6.0 which prevents you from applying a filter or a cql_filter to a kml reflector request. Workarounds:

  1. Use the “wms reflector”, as so:

http://…/geoserver/wms/reflect?format=kml&layers=topp:results&filter=…

  1. Upgrade to 1.6.1.

Let us know if that fixes the problem.

-Justin

Andrea Maschio wrote:

No, thanks Justin. I mean simply filter a normal request. I have tried to put a filter in my page ina KML link like this:

http://suppa.dyndns.org:8080/geoserver/wms/kml_reflect?layers=topp:resultsgeo_retepd&filter=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Esessionid%3C/PropertyName%3E%3CLiteral%3E%3C%25%3Drequest.getSession%28%29.getId%28%29%25%3E%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E but I have an error:

java.lang.IllegalArgumentException: Only the following delimiters are supported: =, )(, , &

org.geoserver.ows.util.KvpUtils.readFlat(KvpUtils.java:191)

org.vfny.geoserver.util.requests.readers.KvpRequestReader.readFlat(KvpRequestReader.java:193) org.vfny.geoserver.util.requests.readers.KvpRequestReader.readOGCFilter(KvpRequestReader.java:397) org.vfny.geoserver.wms.requests.GetMapKvpReader.parseFilterParam(GetMapKvpReader.java:986) org.vfny.geoserver.wms.requests.GetMapKvpReader.parseOptionalParameters(GetMapKvpReader.java:277) org.vfny.geoserver.wms.requests.GetKMLReflectKvpReader.parseOptionalParameters(GetKMLReflectKvpReader.java:44) org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:217) org.vfny.geoserver.wms.servlets.KMLReflector.doGet(KMLReflector.java:153) So i thought it was not so simple as filtering in the url like in a wms request.

Thanks

Andrea

Il giorno 04/mar/08, alle ore 18:45, Justin Deoliveira ha scritto:

Not sure i quite understand what you mean? You can filter kml just like you filter a normal wms request? Is that what you mean?

Or are you referring to the ability to do “stored” or “named” filters?

-Justin

Andrea Maschio wrote:

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being ‘sessionid’ just a name for a filter i apply).

Have you got any idea?

Thanks

Andrea Maschio



This SF.net email is sponsored by: Microsoft

Defy all challenges. Microsoft(R) Visual Studio 2008.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

!DSPAM:4007,47cd7dd659231637810514!



Geoserver-users mailing list

Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47cd7dd659231637810514!

Justin Deoliveira

The Open Planning Project

jdeolive@anonymised.com

Sorry, i thought I tried it, but actually it works

KML</a

(note the quotation marks)

Thanks

Andrea

Il giorno 09/mar/08, alle ore 14:42, Andrea Maschio ha scritto:

Mmh. Actually, i upgraded to 1.6.2, but the cql_filter doesn’t seem to work:

this is my link

KML  

isn’t it as it is supposed to be?

Thanks
Andrea

Il giorno 05/mar/08, alle ore 14:42, Justin Deoliveira ha scritto:

Hi Andrea,

Which version of GEoServer are you using. There was a bug released with 1.6.0 which prevents you from applying a filter or a cql_filter to a kml reflector request. Workarounds:

  1. Use the “wms reflector”, as so:

http://…/geoserver/wms/reflect?format=kml&layers=topp:results&filter=…

  1. Upgrade to 1.6.1.

Let us know if that fixes the problem.

-Justin

Andrea Maschio wrote:

No, thanks Justin. I mean simply filter a normal request. I have tried to put a filter in my page ina KML link like this:

http://suppa.dyndns.org:8080/geoserver/wms/kml_reflect?layers=topp:resultsgeo_retepd&filter=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Esessionid%3C/PropertyName%3E%3CLiteral%3E%3C%25%3Drequest.getSession%28%29.getId%28%29%25%3E%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E but I have an error:

java.lang.IllegalArgumentException: Only the following delimiters are supported: =, )(, , &

org.geoserver.ows.util.KvpUtils.readFlat(KvpUtils.java:191)

org.vfny.geoserver.util.requests.readers.KvpRequestReader.readFlat(KvpRequestReader.java:193) org.vfny.geoserver.util.requests.readers.KvpRequestReader.readOGCFilter(KvpRequestReader.java:397) org.vfny.geoserver.wms.requests.GetMapKvpReader.parseFilterParam(GetMapKvpReader.java:986) org.vfny.geoserver.wms.requests.GetMapKvpReader.parseOptionalParameters(GetMapKvpReader.java:277) org.vfny.geoserver.wms.requests.GetKMLReflectKvpReader.parseOptionalParameters(GetKMLReflectKvpReader.java:44) org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:217) org.vfny.geoserver.wms.servlets.KMLReflector.doGet(KMLReflector.java:153) So i thought it was not so simple as filtering in the url like in a wms request.

Thanks

Andrea

Il giorno 04/mar/08, alle ore 18:45, Justin Deoliveira ha scritto:

Not sure i quite understand what you mean? You can filter kml just like you filter a normal wms request? Is that what you mean?

Or are you referring to the ability to do “stored” or “named” filters?

-Justin

Andrea Maschio wrote:

Hi all, if i have a FeatureType that has many features that are filtered by a wms filter. So I render one item only for page, because my filter is set up as a sessionid field. I was guessing how to generate the KML/Google Earth link filtered by that sessionid (being ‘sessionid’ just a name for a filter i apply).

Have you got any idea?

Thanks

Andrea Maschio



This SF.net email is sponsored by: Microsoft

Defy all challenges. Microsoft(R) Visual Studio 2008.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

!DSPAM:4007,47cd7dd659231637810514!



Geoserver-users mailing list

Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47cd7dd659231637810514!

Justin Deoliveira

The Open Planning Project