Hi list,

Currently, I am trying to use the ogr plugin to create a dxf file. I am using the bridj dependency, which can find the native library (I succeeded in creating a geojson file).

The error reported is /Exception in thread "main" org.geotools.data.DataSourceException: OGR reports it's not possible to create fields on this layer/

I create a featuretype with only a geometry, and no other columns (see: https://gist.github.com/mtoonen/9b200c020f0e4263ac9ef41bccf6b0d1 for the code)


When running ogr2ogr on the commandline, it creates a working dxf file. However, it reports errors along the same line as above: /ERROR 1: DXF layer does not support arbitrary field creation, field 'TypeNumber' not created./

It doesn't stop the execution of the command, but merely reports the errors (one for each column in the source file).


Any thoughts on getting this to work?

--
Met vriendelijke groet,


Meine Toonen
B3Partners BV
Tel: 030 214 2083

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to