On Wed, May 23, 2012 at 1:20 PM, Ákos Maróy <[email protected]> wrote:
> Hi,
>
> I wonder if there are facilities in or around GeoServer that allow for
> performing spacial queries on GML-based data? Initially, I want to be
> able to serve this data via WFS through GeoServer, and later on I want
> to be able to render this data, so that it can be served via WMS.
>
> The data in question corresponds to AIXM, which is based on GML. So far,
> I'm using a JAXB-generated API, based on the AIXM & related XML Schema
> definitions to work on this data.
>
> My initial thinking was to load the available data into memory (e.g. not
> store it in a persistence layer like PostGIS), and work on it from
> there. The most straightforward ways for me are to load it via tha JAXB
> Unmarshaller.
>
> I wonder if there are 'usual' tools / APIs to use to perform spacial
> queries on such, GML-based data?
>
The usual is not to use GML: it's an interchange format, powerful,
but text based, slow to parse, hard to index.
Better take the GML and turn it into some format that is meant to
be subset and indexed efficiently, at least if you have any significant
amount of data.
AIXM is afaik complex features, you might want to look into the app-schema
datastore.
Alternatively I've seen approaches in other systems were the full XML of
a feature is stored as a blob in the database, and a few of the attributes
are
projected out of it as plain attributes, those are the ones that are used
the most (WMS and the like) and can be accessed fast, whilst the
rest is accessed only occasionally if the whole feature, or some
less used attribute, is required (at which point access becomes slow of
course).
The above would make for a compelling compromise imho, but we don't
have a store that supports such approach so far (that I know of, at least),
it would need someone to develop it.
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
mob: +39 339 8844549
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users