Data properties unavailable after updating a shapefile and reloading the catalog.
---------------------------------------------------------------------------------
Key: GEOS-1580
URL: http://jira.codehaus.org/browse/GEOS-1580
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.6.0-RC1
Environment: - Windows XP Professional 2002 Service Pack 2.
- Debian Linux 2.6.18-4-k7 i686
Reporter: Guillaume Lathoud
Assignee: Andrea Aime
Actions:
- A datastore is pointing to a shapefile on the disk (polylines with properties).
- I replace the shapefile with a modified version that contains some geometry changes.
THE PHYSICAL DISK PATH REMAINS THE SAME.
- GeoServer admin page (welcome.do) > Configuration > Login > Catalog reload.
- GeoServer admin page (welcome.do) > Demo > Preview (Openlayer demo).
Observations:
- The geometry of the polylines appears correctly updated.
- Clicking on the polylines does not provide any property information anymore.
--> the properties of the polylines are unavailable.
- If the SLD contains property-based filters {{<ogc:Filter> ... <ogc:PropertyIsEqualTo> ...}}
that determine e.g. the color of the polylines, then the polylines do not appear at all and everything is white in the demo.
Workarounds:
- Stop & restart GeoServer after each update of the shapefile.
- Make sure that the physical disk path of the shapefile changes, e.g. by including some timestamp info to the name of the directory that contains the new version of the shapefile.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira