I know it is now a geoserver question, but probably you guys can help me…
Is there a tool/script to merge several shape files into a single file?
Or geoserver have a better option?
The thing is we have a product where each clients give us a disk with serveral shape files and we need to create a single layer… we want to create a script that merges the files in batch so the geoserver configuration would be easier…
Hi Johan,
You can definitely do this with geotools. The code should be relatively straight forward. One thing worth checking out is the geoscript [1] project, one of its goals is to make things like this as simple as possible. You may also want to consider merging all the files into postgis. If the schema of all the shapefiles files is the same you can use the shp2pgsql utility that comes with postgis.
-Justin
[1] http://geoscript.org
2011/6/24 Johan Chaves Saborío <johann04@anonymised.com>
I know it is now a geoserver question, but probably you guys can help me…
Is there a tool/script to merge several shape files into a single file?
Or geoserver have a better option?
The thing is we have a product where each clients give us a disk with serveral shape files and we need to create a single layer… we want to create a script that merges the files in batch so the geoserver configuration would be easier…
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense…
http://p.sf.net/sfu/splunk-d2d-c1
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
There’s also the option to use OGR to merge shapefiles. It’s one of the examples at http://www.gdal.org/ogr/drv_shapefile.html
Edward
Date: Fri, 24 Jun 2011 08:39:16 -0600
From: jdeolive@anonymised.com
To: johann04@anonymised.com
CC: geoserver-users@anonymised.comurceforge.net
Subject: Re: [Geoserver-users] Merge shape files
Hi Johan,
You can definitely do this with geotools. The code should be relatively straight forward. One thing worth checking out is the geoscript [1] project, one of its goals is to make things like this as simple as possible. You may also want to consider merging all the files into postgis. If the schema of all the shapefiles files is the same you can use the shp2pgsql utility that comes with postgis.
-Justin
[1] http://geoscript.org
2011/6/24 Johan Chaves Saborío <johann04@anonymised.com>
I know it is now a geoserver question, but probably you guys can help me…
Is there a tool/script to merge several shape files into a single file?
Or geoserver have a better option?
The thing is we have a product where each clients give us a disk with serveral shape files and we need to create a single layer… we want to create a script that merges the files in batch so the geoserver configuration would be easier…
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense…
http://p.sf.net/sfu/splunk-d2d-c1
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense… http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi,
in the 2.1.1 version you can find, in the new wps extention, the UnionFeatureCollection process which merges two shape files.
http://docs.geoserver.org/stable/en/user/extensions/wps/processes.html
http://docs.geoserver.org/stable/en/user/extensions/wps/install.html
Hope this can help, bye bye.
On Fri, Jun 24, 2011 at 8:51 PM, Edward Mac Gillavry <emacgillavry@anonymised.com> wrote:
There’s also the option to use OGR to merge shapefiles. It’s one of the examples at http://www.gdal.org/ogr/drv_shapefile.html
Edward
Date: Fri, 24 Jun 2011 08:39:16 -0600
From: jdeolive@anonymised.com
To: johann04@anonymised.com
CC: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Merge shape files
Hi Johan,
You can definitely do this with geotools. The code should be relatively straight forward. One thing worth checking out is the geoscript [1] project, one of its goals is to make things like this as simple as possible. You may also want to consider merging all the files into postgis. If the schema of all the shapefiles files is the same you can use the shp2pgsql utility that comes with postgis.
-Justin
[1] http://geoscript.org
2011/6/24 Johan Chaves Saborío <johann04@anonymised.com>
I know it is now a geoserver question, but probably you guys can help me…
Is there a tool/script to merge several shape files into a single file?
Or geoserver have a better option?
The thing is we have a product where each clients give us a disk with serveral shape files and we need to create a single layer… we want to create a script that merges the files in batch so the geoserver configuration would be easier…
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense…
http://p.sf.net/sfu/splunk-d2d-c1
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense… http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense…
http://p.sf.net/sfu/splunk-d2d-c1
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users