[gdal-dev] Slow performance observed while querying the shapefile
kedardeshpande87
kedardeshpande87 at gmail.com
Tue Sep 4 20:26:32 PDT 2012
Hi,
I have downloaded the latest shapefiles from US Census Bureau TIGER
Shapefiles containaing the ZipCode Tabulation Area (2010) information. I am
reading the shapefile to retrieve the zip code for a given point having
latitude/longitude. I open the shapefile to get the data source, get the
zipcode layer from that and the set a spatial filter on it.
But currently, I am getting very slow performance when doing this. It takes
on an average 200 milliseconds to find a zip code for a given point.
I had downloaded the ZCTA 2010 shapefile a few months ago and I was getting
the latency of around 1 to 2 milliseconds on an average. I recently
downloaded the same ZCTA 2010 shapefile from US Census Bureau web site and
now I am getting latency of 200 milliseconds. The code that reads the
shapefiles is the same.
Has anyone else observed similar behavior ?
What could be the cause of such a high latency ?
Thanks,
Kedar
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Slow-performance-observed-while-querying-the-shapefile-tp4999813.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list