<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
	>
<channel>
	<title>Comments on: Thursday Tip Day: Importing UK Mastermap data into postgres or shape files</title>
	<atom:link href="http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/</link>
	<description>Archaeology in a Digital World</description>
	<lastBuildDate>Sat, 27 Feb 2010 17:26:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Computing, GIS and Archaeology in the UK &#187; Why I love open source</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-23185</link>
		<dc:creator>Computing, GIS and Archaeology in the UK &#187; Why I love open source</dc:creator>
		<pubDate>Thu, 29 May 2008 10:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-23185</guid>
		<description>[...] last week I wrote about a mastermap importer that I had found. I said I would like to be able to merge the [...]</description>
		<content:encoded><![CDATA[<p>[...] last week I wrote about a mastermap importer that I had found. I said I would like to be able to merge the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mateusz Łoskot</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-23004</link>
		<dc:creator>Mateusz Łoskot</dc:creator>
		<pubDate>Wed, 28 May 2008 00:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-23004</guid>
		<description>Jo,

Funny, I should known what&#039;s in the GDAL FAQ but seems I didn&#039;t :-)
Anyway, we have answer related to your question in there:
&lt;a href=&quot;http://trac.osgeo.org/gdal/wiki/FAQVector#HowcanImergehundredsofshapefiles&quot; rel=&quot;nofollow&quot;&gt;How can I merge hundreds of shapefiles?&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Jo,</p>
<p>Funny, I should known what&#8217;s in the GDAL FAQ but seems I didn&#8217;t <img src='http://www.archaeogeek.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Anyway, we have answer related to your question in there:<br />
<a href="http://trac.osgeo.org/gdal/wiki/FAQVector#HowcanImergehundredsofshapefiles" rel="nofollow">How can I merge hundreds of shapefiles?</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22495</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 23 May 2008 11:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22495</guid>
		<description>Hi All,

Thanks for the suggestions- they are fab! (I sense a little batch file coming up...)

Jo</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Thanks for the suggestions- they are fab! (I sense a little batch file coming up&#8230;)</p>
<p>Jo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mateusz Łoskot</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22489</link>
		<dc:creator>Mateusz Łoskot</dc:creator>
		<pubDate>Fri, 23 May 2008 09:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22489</guid>
		<description>@Andrew

Yes, I think you are right.</description>
		<content:encoded><![CDATA[<p>@Andrew</p>
<p>Yes, I think you are right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Larcombe</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22485</link>
		<dc:creator>Andrew Larcombe</dc:creator>
		<pubDate>Fri, 23 May 2008 08:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22485</guid>
		<description>@Mateusz

Yes - agreed, though I suspect the bottleneck in this case will be reading in the data, building spatial indexes rather than in the pausing and spawning of new processes.

Cheers,

Andrew</description>
		<content:encoded><![CDATA[<p>@Mateusz</p>
<p>Yes &#8211; agreed, though I suspect the bottleneck in this case will be reading in the data, building spatial indexes rather than in the pausing and spawning of new processes.</p>
<p>Cheers,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mateusz Łoskot</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22459</link>
		<dc:creator>Mateusz Łoskot</dc:creator>
		<pubDate>Fri, 23 May 2008 01:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22459</guid>
		<description>@Andrew

...or xargs command:

find . -name ABC &#124; xargs ogr2ogr ...

xargs is &lt;a href=&quot;http://www.sunmanagers.org/pipermail/summaries/2005-March/006255.html&quot; rel=&quot;nofollow&quot;&gt;usually faster&lt;/a&gt; than -exec, what may be important while working with huge sets of files.</description>
		<content:encoded><![CDATA[<p>@Andrew</p>
<p>&#8230;or xargs command:</p>
<p>find . -name ABC | xargs ogr2ogr &#8230;</p>
<p>xargs is <a href="http://www.sunmanagers.org/pipermail/summaries/2005-March/006255.html" rel="nofollow">usually faster</a> than -exec, what may be important while working with huge sets of files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Larcombe</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22435</link>
		<dc:creator>Andrew Larcombe</dc:creator>
		<pubDate>Thu, 22 May 2008 21:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22435</guid>
		<description>Jo,

If you want to do anything with some group of files then find&#039;s exec option is (usually) your friend.

eg to find all the files named &#039;MM_TopographicArea_*&#039; in the current directory (and its subdirectories) and append it to foo.shp you&#039;d do something like:

find . -name MM_TopographicArea_* -exec ogr2ogr -update -append foo.shp {} -nln foo \;

the command in the -exec option is executed for each file matching the -name parameter. The -exec option replaces any instances of {} with the matched filename and is terminated by \;

Hope that helps,

Andrew</description>
		<content:encoded><![CDATA[<p>Jo,</p>
<p>If you want to do anything with some group of files then find&#8217;s exec option is (usually) your friend.</p>
<p>eg to find all the files named &#8216;MM_TopographicArea_*&#8217; in the current directory (and its subdirectories) and append it to foo.shp you&#8217;d do something like:</p>
<p>find . -name MM_TopographicArea_* -exec ogr2ogr -update -append foo.shp {} -nln foo \;</p>
<p>the command in the -exec option is executed for each file matching the -name parameter. The -exec option replaces any instances of {} with the matched filename and is terminated by \;</p>
<p>Hope that helps,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mateusz Łoskot</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22416</link>
		<dc:creator>Mateusz Łoskot</dc:creator>
		<pubDate>Thu, 22 May 2008 18:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22416</guid>
		<description>Jo,

You can use ogr2ogr   small Shell or Python script that iterates through folders and shapefiles, recognizes similar name prefixes, and calles something like this for every matched shapefiles:

1. Frist, initialize merged shapefile:

ogr2ogr abc_merged.shp subdir1\ abc.shp

2. Append other files with the same name prefix (abc in this example): 

ogr2ogr -update -append abc_merged.shp subdir2\abc.shp -nln abc_merged

and so on for subrid3, subdir4, ...</description>
		<content:encoded><![CDATA[<p>Jo,</p>
<p>You can use ogr2ogr   small Shell or Python script that iterates through folders and shapefiles, recognizes similar name prefixes, and calles something like this for every matched shapefiles:</p>
<p>1. Frist, initialize merged shapefile:</p>
<p>ogr2ogr abc_merged.shp subdir1\ abc.shp</p>
<p>2. Append other files with the same name prefix (abc in this example): </p>
<p>ogr2ogr -update -append abc_merged.shp subdir2\abc.shp -nln abc_merged</p>
<p>and so on for subrid3, subdir4, &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22404</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 22 May 2008 16:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22404</guid>
		<description>Hi Mapperz,

Thanks for the heads up- a useful tip IF one is still using ArcGIS! As we are moving towards open source we are looking for alternatives to the things you can do with ESRI products.

Thanks for popping by,

Jo</description>
		<content:encoded><![CDATA[<p>Hi Mapperz,</p>
<p>Thanks for the heads up- a useful tip IF one is still using ArcGIS! As we are moving towards open source we are looking for alternatives to the things you can do with ESRI products.</p>
<p>Thanks for popping by,</p>
<p>Jo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mapperz</title>
		<link>http://www.archaeogeek.com/blog/2008/05/22/thursday-tip-day-importing-uk-mastermap-data-into-postgres-or-shape-files/comment-page-1/#comment-22397</link>
		<dc:creator>Mapperz</dc:creator>
		<pubDate>Thu, 22 May 2008 14:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.archaeogeek.com/blog/?p=139#comment-22397</guid>
		<description>Merging Multiple Shapefiles - For Free.

If have ArcGIS 9.2/9.3
Open ArcMap and ArcCatalog side by side if you can
ArcCatalog&gt;Search on &#039;MM_TopographicArea_*.*&#039;
Then select [Shift select]
(This can be done in Windows Explorer as well as ArcCatalog can be slow on many 000&#039;s of files)
drag into ArcMap and they will be order in annotation,point,polyine and polygon. Then use the merge function in the Toolbox to create one file for each data type.

Or use the Geowizards (9.7) [recommended]
http://www.ian-ko.com/
batch merge

Mapperz
http://mapperz.blogspot.com/</description>
		<content:encoded><![CDATA[<p>Merging Multiple Shapefiles &#8211; For Free.</p>
<p>If have ArcGIS 9.2/9.3<br />
Open ArcMap and ArcCatalog side by side if you can<br />
ArcCatalog&gt;Search on &#8216;MM_TopographicArea_*.*&#8217;<br />
Then select [Shift select]<br />
(This can be done in Windows Explorer as well as ArcCatalog can be slow on many 000&#8217;s of files)<br />
drag into ArcMap and they will be order in annotation,point,polyine and polygon. Then use the merge function in the Toolbox to create one file for each data type.</p>
<p>Or use the Geowizards (9.7) [recommended]<br />
<a href="http://www.ian-ko.com/" rel="nofollow">http://www.ian-ko.com/</a><br />
batch merge</p>
<p>Mapperz<br />
<a href="http://mapperz.blogspot.com/" rel="nofollow">http://mapperz.blogspot.com/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
