2

I have made an extensive search on the net but were still in vain.

I am looking for an open source GeoJSON library.

Help me please.

Last update:

My preference goes for something build on top of SuperObject library.

menjaraz
  • 7,551
  • 4
  • 41
  • 81
  • Stop closing all questions already. It's starting to become really annoying to have questions half-answered because of the trigger-happy delphi closing-team. Just downvote if you don't like it, or write a comment to explain how the question could be improved. – Wouter van Nifterick Apr 28 '12 at 10:38
  • In this case, I agree, but as a regular close voter (most often for vague and completely unanswerable questions) I believe it is an essential part of what keeps Stackoverflow from devolving into a discussion forum. Looking for open source component or library for X is essentially ON TOPIC, and "google it" is not always the best way to find it. In fact, reverse is true. It seems lately that such questions get top linked to stackoverflow within 5 minutes of asking them, so such questions are welcome here. +1 menjaraz. – Warren P Apr 28 '12 at 17:44
  • @warren p: Thanks for your explanation. Menjaraz, sorry for hijacking your question with this meta discussion. – Wouter van Nifterick Apr 29 '12 at 03:49

2 Answers2

4

I'm using SuperObject to parse (geojson) results that i pull from GeoServer.

GeoJson is not that complicated so i don't think it matters much which library you use.

Wouter van Nifterick
  • 23,603
  • 7
  • 78
  • 122
  • 1
    Absolutely. The JSON library (SuperObject) is in fact, the only thing you should need. The rest of invoking any REST/JSON webapi ought to be self-explanatory. – Warren P Apr 28 '12 at 17:46
2

AFAIK there is none.

But you can easily retrieve and create a GeoJSON content with a JSON library. GeoJSON content is just a tree of JSON objects.

Recent versions of Delphi have a built-in JSON parser.

Or take a look at Delphi JSON library for XE2 available for object serialization to find out some libraries. I like the one embedded in DWScript.

Community
  • 1
  • 1
Arnaud Bouchez
  • 42,305
  • 3
  • 71
  • 159