TeeChart FMX and GEOLJSON

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Bruce
Newbie
Newbie
Posts: 9
Joined: Fri Jul 31, 2020 12:00 am

TeeChart FMX and GEOLJSON

Post by Bruce » Sat Jun 08, 2024 5:55 pm

Does TeeChart support and recognise GEOLJSON format files so as to produce MapSeries graphs? I know that it supports JSON but cannot find any reference to GEOLJSON. If it does, does it then provide access to other attribute fields in the GEOLJSON file?

If GEOLJSON is not supported, I would like to ask that it be considered for future inclusion as a way to import mapseries polygons, lines, etc.

Thanks
Bruce

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart FMX and GEOLJSON

Post by Yeray » Mon Jun 10, 2024 1:16 pm

Hello Bruce,

Just to confirm you meant GeoJSON.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bruce
Newbie
Newbie
Posts: 9
Joined: Fri Jul 31, 2020 12:00 am

Re: TeeChart FMX and GEOLJSON

Post by Bruce » Thu Jun 27, 2024 3:22 am

Sorry for delay. Been away for a while.

Yes, I do mean GeolJson i.e the spatial aware version of JSON.

One reason I raise this is that TeeChart VCL anf FMX allow one to import shapefiles but only VCL has a way to read attribute data from associated Dbase file and then only if using BDE type links. It would be really nice to bring in all the spatial and attribute information with modern technology and GeolJson seem apprpriate. I have experimented with JSON formatted files exported from GIS software but none seem to work with TeeChart, nor does GeolJson. This could be just me not getting things right, hence part of my question.

Thanks

Bruce
Bruce

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart FMX and GEOLJSON

Post by Yeray » Tue Jul 02, 2024 6:46 am

Hello Bruce,

I'm a bit confused because you keep adding an "L" character between "Geo" and "JSON", while the references I find are without that middle "L".
TDataImport class in FMX.Import unit includes an ImportJSON method I believe is unable to load data from that GeoJSON, but I'd like to be sure we are talking about the same format.
However, that unit includes some json manipulation classes and utilities we can probably use to load the data.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bruce
Newbie
Newbie
Posts: 9
Joined: Fri Jul 31, 2020 12:00 am

Re: TeeChart FMX and GEOLJSON

Post by Bruce » Fri Jul 05, 2024 5:45 am

Sorry, you are correct. My mistake to add the L. I do mean GeoJSON
Bruce

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart FMX and GEOLJSON

Post by Yeray » Fri Jul 05, 2024 10:48 am

Hello Bruce,

I've added it to the public tracker: #2726.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply