On Wed, Jun 12, 2013 at 1:40 PM, Rudolf <[email protected]>wrote:

> Hi Jonathan,
>
> thx for testing. I did a debug session today and found out that the reason
> for this behaviour is not a permission problem. Our featureTypes have an
> attribute of type "byte[]" and ShapefileDatastore cannot handle it and
> throws an exception...


Ah yes, that makes sense, the original DBF spec does not have support for
blob fields.
According to this page Visual Foxpro added a field type for blobs as an
extension,
but that's something only Visual Foxpro would then be able to read:
http://devzone.advantagedatabase.com/dz/webhelp/advantage9.0/server1/dbf_field_types_and_specifications.htm

I guess, as an improvement, the shapefile output command could try to remove
all attributes whose types that cannot be handled in a DBF.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to