Just in case, does it make any difference if you call the polygon attribute "the_geom" rather than "Extent" ?
I've been creating shapefiles with Polygon geometry using GT 10.2 and when the geometry attribute was called something other than "the_geom" it appeared empty when displayed. Michael On 26 November 2013 13:11, Ryan McKinley <[email protected]> wrote: > After upgrading an application from 9.x to 10.2 I am hitting an issue with > the shape files it create. > > I am using code similar to: > http://docs.geotools.org/latest/userguide/tutorial/feature/csv2shp.html > rather than Point, it uses Polygon (from JTS) > > builder.add( "Extent", Polygon.class ); > > > With 9.x this created a shapefile we can easily load in most things. With > 10.2, it create one that looks valid, but I don't see any data. In ArcMap I > notice the type for 10.2 is "Polygon ZM": > https://www.monosnap.com/image/NrCKomSD1ZvcdbJ2UyNE0CwDF > > How do I make this a simple Polygon without ZM support? > > Thanks > Ryan > > > > > > > > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > GeoTools-GT2-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
