[Geoserver-devel] Information on how to create a new data store type

Hello,

I’m interested in creating my own data store type.

Are there any tutorials out there for this? Found o.g.d.GeoServerDataSource.java and see the class files for DBs like MySQL but don’t see any source for the additional data store extensions.

Thanks

-Kris

On Sun, Sep 15, 2013 at 9:25 PM, Kristopher Kane <kkane.list@anonymised.com>wrote:

Hello,

I'm interested in creating my own data store type.

Are there any tutorials out there for this? Found
o.g.d.GeoServerDataSource.java and see the class files for DBs like MySQL
but don't see any source for the additional data store extensions.

Look into GeoTools, you have to write a GeoTools DataStore (for simple
features) or a DataAccess (for complex features).
If properly written the moment you drop its jar in GeoServer (and restart)
it should be made available via the GUI

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

-------------------------------------------------------

There are two tutorials

  1. AbstractDataStore Tutorial - complete tutorial, but uses the older AbstractDataStore base class as a starting point.
  2. ContentDataStore Tutorial - tutorial only goes up to read-only, but uses the newer ContentDataStore resulting in less code at the end of the day.
···

On Sun, Sep 15, 2013 at 8:25 PM, Kristopher Kane <kkane.list@anonymised.com> wrote:

Hello,

I’m interested in creating my own data store type.

Are there any tutorials out there for this? Found o.g.d.GeoServerDataSource.java and see the class files for DBs like MySQL but don’t see any source for the additional data store extensions.

Thanks

-Kris


LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Awesome, thanks.

-Kris

···

On Sun, Sep 15, 2013 at 6:22 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

There are two tutorials

  1. AbstractDataStore Tutorial - complete tutorial, but uses the older AbstractDataStore base class as a starting point.
  2. ContentDataStore Tutorial - tutorial only goes up to read-only, but uses the newer ContentDataStore resulting in less code at the end of the day.

On Sun, Sep 15, 2013 at 8:25 PM, Kristopher Kane <kkane.list@anonymised.com> wrote:

Hello,

I’m interested in creating my own data store type.

Are there any tutorials out there for this? Found o.g.d.GeoServerDataSource.java and see the class files for DBs like MySQL but don’t see any source for the additional data store extensions.

Thanks

-Kris


LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel