[OSM-dev] how many api calls/time for an app allowed?
Eddy Petrișor
eddy.petrisor at gmail.com
Mon Jul 6 02:15:35 BST 2009
Gary68 a scris:
> hi,
Hello,
I would also need an answer about this for a data import we will be
doing for Romania (this round just places)
> so let's say i would need ~500 calls a day for an application, each
> requesting a "tile" of 0.01 by 0.01 deg. would i or my application be
> stopped doing so? it is only read access!
We are planning to import all municipalities in Romania, but with merge
with the current data, so we need to know if there are already nodes for
each of the municipalities we're importing.
For this I wrote a code which requests the map around a place's
coordinates within a 10 km² area (but can be configured) and, for
instance, for the Olt county (aprox. 5500 km²) there are 390 municipalities.
The entire county has 238 391 km² and 40 counties, but they have
different densities, of course.
We know there are multiple municipalities with the same name, so we
can't easily use the country extract (also keeping the dom for the
entire country in memory is probably not feasible) to detect data which
already exists; even if we'd work with the country extract, we'd need to
query the places to get the current data, while race conditions could
appear and we might end up with duplicate places.
Would such an import be considered over the limit? Should we rather
query for the map for a wider area and reuse, than querying for small
chunks?
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090706/9faa642d/attachment.pgp>
More information about the dev
mailing list