On Wed, Nov 20, 2013 at 5:15 PM, Niels Charlier <[email protected]> wrote:
> On 19/11/13 15:27, Andrea Aime wrote:
>
> On Tue, Nov 19, 2013 at 2:56 PM, Niels Charlier <[email protected]> wrote:
>
>> Hi,
>>
>> I am proposing a new unsupported module that allowes kml files to be
>> used as datastores in geoserver:
>>
>> http://docs.codehaus.org/display/GEOTOOLS/KML+DataStore
>>
>> https://github.com/geotools/geotools/pull/316
>
>
> Niels, cool stuff, +1 on merging
>
> Two observations (just for sake of chatting):
> * why do you have a FeatureStore, since it cannot do writes? :-)
>
>
> Which other abstract data store class would you have used? It seemed to me
> that it was the most appropriate one to do it with the least code, but
> perhaps I am wrong.
> However, perhaps it is interesting to leave implementation of writing to
> it open to the future.
>
If you are implementing a read only store just
extending ContentFeatureSource should be fine, no need to have
a ContentFeatureStore extension too?
>
>
> * wondering how difficult it would be to turn this code into a GML
> store too... I mean, believe
> good part of the architecture would be pretty much the same?
>
>
> Yeah, that makes a lot of sense. Perhaps all that would be different is
> the initialisation of the parser with a different scheme and configuration?
>
Right... they could have "dialects" too, like in JDBC stores.
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
-------------------------------------------------------
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel