On Wed, May 11, 2011 at 8:11 PM, Kangas, Eric G. <[email protected]> wrote: > Hello, > > > > I’ve been trying out WFS queries in GeoServer, and I’ve been having a > problem when making this query: > > http://localhost:8080/geoserver/wfs?service=wfs&version=1.1.0&request=getfeature&typeName=cite:10m-us-parks-area&maxfeatures=1 > > > > I’ve tried this on both GeoServer 2.0.2 and 2.1 RC5. The data I’m using is > available here http://www.naturalearthdata.com/tag/national-parks/.
I did not check, but I'm betting that dataset contains one attribute name containing XML invalid characters (or the table name itself). GeoServer does not have attribute renaming facilities for simple features, so you should rename the attribute in the database instead or use a sql view to perform the renaming. If it's the table name instead you can just rename the layer. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
