[Geoserver-users] kml vector superoverlays question

Hello,

I'm new to Geoserver and am hoping someone can help me figure out why I can't get kml vector superoverlays to work.

I'm using version 1.7.3 and my data source is a PostGIS database.

My syntax is:
http://www.parkinfo.org:8080/geoserver/wms/kml?layers=kml:campgrounds

This URL defaults to refresh mode. If I try to specify mode=superoverlay, I don't get any results. Is there anything in the FeatureType Editor that I need to set? Or, are there required fields in my PostGIS database? If you need more info, please let me know.

Thanks,
Jennifer

--
Jennifer Strahan, GIS Specialist
GreenInfo Network - www.greeninfo.org -
Information and Mapping in the Public Interest

**As of Oct. 13, 2008 we have a new address**
564 Market Street, Suite 510
San Francisco CA 94104

Phone: 651-917-0191
Fax: 415-979-0371
Email: jennifer@anonymised.com

Jennifer Strahan ha scritto:

Hello,

I'm new to Geoserver and am hoping someone can help me figure out why I can't get kml vector superoverlays to work.

I'm using version 1.7.3 and my data source is a PostGIS database.

My syntax is:
http://www.parkinfo.org:8080/geoserver/wms/kml?layers=kml:campgrounds

This URL defaults to refresh mode. If I try to specify mode=superoverlay, I don't get any results. Is there anything in the FeatureType Editor that I need to set? Or, are there required fields in my PostGIS database? If you need more info, please let me know.

The most common issue is not having a primary key on your data.
Superoverlays need one.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Andrea,

Thanks for the clue. I was using a view. I switched to a table with a primary key and now all is working as expected.

Regards,
Jennifer

Andrea Aime wrote:

Jennifer Strahan ha scritto:

Hello,

I'm new to Geoserver and am hoping someone can help me figure out why I can't get kml vector superoverlays to work.
I'm using version 1.7.3 and my data source is a PostGIS database.
My syntax is:
http://www.parkinfo.org:8080/geoserver/wms/kml?layers=kml:campgrounds

This URL defaults to refresh mode. If I try to specify mode=superoverlay, I don't get any results. Is there anything in the FeatureType Editor that I need to set? Or, are there required fields in my PostGIS database? If you need more info, please let me know.

The most common issue is not having a primary key on your data.
Superoverlays need one.

Cheers
Andrea

--
Jennifer Strahan, GIS Specialist
GreenInfo Network - www.greeninfo.org -
Information and Mapping in the Public Interest

**As of Oct. 13, 2008 we have a new address**
564 Market Street, Suite 510
San Francisco CA 94104

Phone: 651-917-0191
Fax: 415-979-0371
Email: jennifer@anonymised.com