[Geoserver-devel] DataStore

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.
- http://docs.geotools.org/stable/userguide/examples/csv2shp.html
- http://geotoolsnews.blogspot.com/2009/11/foss4g-geotools-tutorials.html (longer form)

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):
- http://docs.codehaus.org/display/GEOTDOC/DataStore+Developers+Guide

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I'm new in GIS applications and I want to implement one datastore that meets some requirements. For this, I'm implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.

--
Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com…>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com…>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

Not really - AbstractDataStore is a bit long in the tooth. ContentDataStore is the new hotness and needs a tutorial to show people how to use it.
I am glad you got a datastore working - congrats!

Jody

On 20/06/2010, at 10:47 AM, Egio Arruda wrote:

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

So, I’m waiting for this tutorial.

2010/6/19 Jody Garnett <jody.garnett@anonymised.com>

Not really - AbstractDataStore is a bit long in the tooth. ContentDataStore is the new hotness and needs a tutorial to show people how to use it.
I am glad you got a datastore working - congrats!

Jody

On 20/06/2010, at 10:47 AM, Egio Arruda wrote:

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

Would you like to produce it together? We could swap emails back and forth and package up the result.

I have a couple of ideas of things to do in this regard; and updating the datatstore tutorial is one of them.

Here are some notes:

  • The order of the tutorial seems fine, it is not an introduction to feature, but it does start with working code early
  • AttributeReader is too low level and did not end up getting used in the real world by implementors
  • I was thinking of using a comma separated value file this time around (since Java properties is already done). I usually use this one: http://www.csvreader.com/java_csv_samples.php
  • ContentDataStore is the superclass to extend
  • ContentEntry is where you keep most of your book keeping on a per transaction basis (rather then in Maps like the current AbstractDataStore)

Jody

The class to subclass is ContentDataStore

On 21/06/2010, at 3:26 AM, Egio Arruda wrote:

So, I’m waiting for this tutorial.

2010/6/19 Jody Garnett <jody.garnett@anonymised.com>

Not really - AbstractDataStore is a bit long in the tooth. ContentDataStore is the new hotness and needs a tutorial to show people how to use it.
I am glad you got a datastore working - congrats!

Jody

On 20/06/2010, at 10:47 AM, Egio Arruda wrote:

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

I think that is a good ideia. I want to know how the datastore work.
Do you like that would be good ideia add a short explanation about what is a datastore and how it work in geotools api?
Do you have more texts and examples that will help me?
Let’s start!

2010/6/20 Jody Garnett <jody.garnett@anonymised.com>

Would you like to produce it together? We could swap emails back and forth and package up the result.

I have a couple of ideas of things to do in this regard; and updating the datatstore tutorial is one of them.

Here are some notes:

  • The order of the tutorial seems fine, it is not an introduction to feature, but it does start with working code early
  • AttributeReader is too low level and did not end up getting used in the real world by implementors
  • I was thinking of using a comma separated value file this time around (since Java properties is already done). I usually use this one: http://www.csvreader.com/java_csv_samples.php
  • ContentDataStore is the superclass to extend
  • ContentEntry is where you keep most of your book keeping on a per transaction basis (rather then in Maps like the current AbstractDataStore)

Jody

The class to subclass is ContentDataStore

On 21/06/2010, at 3:26 AM, Egio Arruda wrote:

So, I’m waiting for this tutorial.

2010/6/19 Jody Garnett <jody.garnett@anonymised.com…403…>

Not really - AbstractDataStore is a bit long in the tooth. ContentDataStore is the new hotness and needs a tutorial to show people how to use it.
I am glad you got a datastore working - congrats!

Jody

On 20/06/2010, at 10:47 AM, Egio Arruda wrote:

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG

I think that is a good ideia. I want to know how the datastore work.

Each datastore works differently; the database ones use a data base connection (and transaction) to keep things straight.
The file based ones tend to keep any changes in memory and then write out the changes when commit is called.

Do you like that would be good ideia add a short explanation about what is a datastore and how it work in geotools api?

I think I have that covered:

I would like to keep this tutorial “advanced” for those who already know what a datastore is and would like to implement their own.

Do you have more texts and examples that will help me?

I am going to be updating those tutorials over the course of the week; if you like I can send you a copy for review.

Let’s start!

That is the spirit :slight_smile:

Jody

2010/6/20 Jody Garnett <jody.garnett@anonymised.com>

Would you like to produce it together? We could swap emails back and forth and package up the result.

I have a couple of ideas of things to do in this regard; and updating the datatstore tutorial is one of them.

Here are some notes:

  • The order of the tutorial seems fine, it is not an introduction to feature, but it does start with working code early
  • AttributeReader is too low level and did not end up getting used in the real world by implementors
  • I was thinking of using a comma separated value file this time around (since Java properties is already done). I usually use this one: http://www.csvreader.com/java_csv_samples.php
  • ContentDataStore is the superclass to extend
  • ContentEntry is where you keep most of your book keeping on a per transaction basis (rather then in Maps like the current AbstractDataStore)

Jody

The class to subclass is ContentDataStore

On 21/06/2010, at 3:26 AM, Egio Arruda wrote:

So, I’m waiting for this tutorial.

2010/6/19 Jody Garnett <jody.garnett@anonymised.com…403…>

Not really - AbstractDataStore is a bit long in the tooth. ContentDataStore is the new hotness and needs a tutorial to show people how to use it.
I am glad you got a datastore working - congrats!

Jody

On 20/06/2010, at 10:47 AM, Egio Arruda wrote:

I get sucess in my implementation. Thanks for this list and for Jody (Your tutorial is excelent).

2010/6/17 Egio Arruda <egiojr@anonymised.com>

Hi Jody, thanks a lot for your help. I’ll try and show the results.
Thanks.

2010/6/16 Jody Garnett <jody.garnett@anonymised.com>

Hi Erio:

You will want to visit the GeoTools project; go through a couple of the tutorials that show how feature types and features are created.

Finally you will want to look at this tutorial (which is outdated but gets the general idea of the tasks that need to be performed):

Jody

On 17/06/2010, at 4:08 AM, Egio Arruda wrote:

Hi folks, I’m new in GIS applications and I want to implement one datastore that meets some requirements. For this, I’m implementing a extension datastore.
So, a need some help with documentation and experience.
Do you give me some help?
Thanks a lot.


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________

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


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG


Atenciosamente,
Egio Arruda Junior
Bacharel em Ciências da Computação - UFG