Hi,
Try setting it explicitly
//set the default geometry
b.setDefaultGeometry( "mygeom" )
Cheers,
Carlo
Il 25/feb/2014 19:52 "shiguera" <[email protected]> ha scritto:
> Hi all:
>
> I'm working with SimpleFeatureTypeBuilder to build and save a shapefile.
> I follow the snippet in [1].
> After created, I'm trying to see the layer with gvSIG. I can only see it
> if I name 'the_geom' to de geometry property. Is it correct?
>
> Thanks in advance
>
> Regards
>
> Santiago Higuera
>
> [1] http://docs.geotools.org/stable/userguide/library/main/feature.html
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users