That sounds quite fun Lucca, I hope AURIN is going well!

I had a question about (2) - you should be able to query the REST API based
on the bbox - and then use geotools to apply the rest of the filter. The
shapefile datastore does something similar to query the index based on the
bounding box, and then filter the results that come back from checking the
index.

I would also like to ensure you used ContentDataStore (since the old one is
going away next geotools release).


--
Jody Garnett

On 28 February 2017 at 16:31, Luca Morandini <lmorand...@ieee.org> wrote:

> Folks,
>
> I think this datastore is now stable enough for people to have a go at it.
> (Please
> use the v0.2.2 release from https://github.com/lmoran/arcgis-rest.)
>
> The ArcGIS ReST API is huge, and we were interested only in getting data
> with
> bounding box queries, hence the datastore is very limited in scope. More
> specifically, only the FeatureServer services on either ArcGIS Online
> (Open Data)
> or ArcGIS Server FeatureServers are covered so far.
>
> In addition, there are a few issues:
> 1) The API returns "enriched" GeoJSON, hence JSON fragments that do not
> conform to
> GeoJSON are discarded. (The datastore own GeoJSON streaming parser is
> based on Gson).
> 2) The query filter is ignored, only the request bbox is used to query the
> API.
> 3) Since a different call for every dataset in an API endpoint (either
> OpenData or
> FeatureServer) has to be performed, endpoints with many datasets can take
> a long
> time to load. (By the way ESRI seem to be throttling back frequent requests
> -presumably to fend off DDOS attacks.)
>
> Please, have a go and tell us how to improve it.
>
> Cheers,
>
> Luca Morandini
> Data Architect - AURIN project
> Melbourne eResearch Group
> Department of Computing and Information Systems
> Room 3.08. Level 3,  Doug McDonell Building, Parkville Campus
> University of Melbourne
> Tel. +61 03 903 58 380
> Skype: lmorandini
> LinkedIn: https://www.linkedin.com/in/lmorandini
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to