On Sat, Nov 17, 2012 at 5:19 AM, Smaran Harihar <[email protected]>wrote:

> Hi Guys,
>
> Is there a limit to the number of shapefiles that can be added using cURL?
> I am adding around 33k shapefiles, which are in a directory. Previously I
> have been successful in adding around 1636 shapefiles, which were also in a
> directory, using the cURL command that was really fast (in a snap).
>
> Now as I have executed the cURL command to add the 33k shapefiles it has
> been running for around 15 mins. Is this normal? I also tried to refresh my
> Geoserver but even that is in some state of HOLD. Any idea if this will be
> successful?
>

I don't think there is a hard limit, but depending on the .prj file
attached to your
shapefiles the time to import them can grow a lot.
Basically, if the .prj content can be mapped to a official EPSG code using
indexes you
can import the data quickly, if not the full scan takes 5 or more seconds
per lookup,
which would mean 46 hours of processing for your case.

The code doing the lookup could indeed be optimized to do some caching, so
that
repeated lookups against the same code become fast after the first full scan

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to