Unfortunately I doubt all of that is really possible for what I need to do.
I don't really know what my GML will look like at any given time as it's
produced by a WPS process (I also don't know which process or WPS is used).
I'm looking for a way of taking this GML output and storing it in GeoServer
so it can be visualised on the client side.
Basically its supposed to work like:
(Unknown WPS process) ---GML---> (Convert to shapefile) ---SHP--->
(GeoServer) ---WFS---> (OpenLayers Client)
I think I might put this on hold for now and just use more
GeoServer-friendly formats where possible, although this doesn't do much for
interoperability!
Thanks,
Jon
On 15 June 2011 13:07, Andrea Aime <[email protected]> wrote:
> On Wed, Jun 15, 2011 at 12:47 PM, Jon Britton
> <[email protected]>wrote:
>
>> Hi,
>>
>> Sorry, the email was supposed to go to the users list as well. Anyway, it
>> seems the problem occurs in the shapefileDataStore.createDbaseHeader(..)
>> method. From what I can gather, if fails to add a column for the
>> "metaDataProperty" attribute because it's type is set to Object (not
>> Integer, Short, Date etc.).
>>
>> Should I even be calling ShapefielDataStore.createSchema(..) with the
>> result of my DefaultFeatureCollection.getSchema()?
>>
>
> You should probably fix the schema a bit by either forcing the data types
> to
> something the shapefile datastore can handle, or just remove the attributes
> that cannot be recognized.
> And then account for the fact that the schema created by the target
> datastore
> is not equal to the one you passed: for shapefiles the geometry is the
> first
> attribute and it's called "the_geom", for oracle all the attributes will
> become
> uppercase, and so on
>
> Cheers
> Andrea
>
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users