From: Justin D. <jde...@op...> - 2007-07-10 16:21:27
|
Hi Bernd, Hmmm, yeah implementing the mapping as a XSLT is probably simpler then writing your own datastore. Especially since your target schema is static and the xml input format sounds simple. So then all you need is a simple servlet / service in geoserver which ties it all together. Bernd Resch wrote: > Hi Justin, > > what I basically want to do is to make sensors queryable in real-time > via GeoServer and thus need a live "converter" from the O&M XML > structure (sensor measurements) to some XML format GeoServer can use as > a data source (e.g. GML). I don't want to use a database, which is > constantly updated, but just a servlet having GML as an output type. The > URL of the servlet shall then be specified the data source in GeoServer. > It has to be said that the XML structure is flat (max. 7 element levels) > and it is _static_. Thus, I don't have to implement a full schema-based > XSLT but only a static mapping of elements. > Do you think there is an easier way of implementing this than creating a > separate datastore? > > Best, > Bernd. > > > Justin Deoliveira wrote: >> Hi Bernd, >> >> Just glanced over that thread. And do you mean that you are going to >> implement your own geotools datastore? Or do you mwan that you have a >> datastore and just want to add feature types from it GeoServer? >> >> -Justin >> >> Bernd Resch wrote: >>> Hello, >>> >>> following my email from May 10, I'd like to be sure about creating a >>> new datastore for GeoServer. Basically, what I think I have to do is: >>> 1.) create a FeatureType >>> 2.) create an instance >>> 3.) create the datastore >>> 4.) interface with GeoServer >>> 5.) register the datastore in GeoServer (add jar-file in the webapp >>> tree) >>> >>> Could you please tell me whether this procedure is right or if I'm >>> missing something? >>> And especially: how is the interfacing with GeoServer done, i.e. I >>> want to create a new selectable Feature Data Set. Which API do I have >>> to implement etc. Are there any examples around? >>> >>> Thanks already in advance, >>> Bernd. >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Geoserver-users mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >>> >>> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > !DSPAM:4007,46933b3a281271804284693! > -- Justin Deoliveira The Open Planning Project http://topp.openplans.org |