Tim Schreiner ha scritto: > Andrea, > > Thanks for the reply. > > Actually, my table has both fields for lat/lon and a field called > “location”, which is a type, Geometry. > > What I'm not understanding is how the "Feature Type Editor" (see > attached pics) knows which field to use to display, as there is no way > to select a field to tell it.
Ah, sorry. Postgis data store queries the geometry_columns table to detect which fields are geometries, and just picks the first geometric column as the default one for rendering. There's no way to override this process. Yet, you can force whatever geometry you want (should you have more than one) by using an SLD that references the geometry column in the symbolizer. Hope this helps Cheers Andrea Aime ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
