<p>Lovely python. </p>
<p>Sent from my mobile which isn't an iPhone</p>
<div class="gmail_quote">On 16 Apr 2011 10:18, "Matthew Pulis" <<a href="mailto:mpulis@gmail.com">mpulis@gmail.com</a>> wrote:<br type="attribution">> Good idea Mike. The only problem is that we cannot use a database since we<br>
> need to style the actual data for images. Although one could load it to a db<br>> and then re-export it with some other tools - but that just increases time<br>> etc.<br>> <br>> is the code of osmm loader c++ or c#?<br>
> <br>> <br>> Matthew Pulis BSc. (Business and Computing) MSc. (Informatics)<br>> web: <a href="http://www.matthewpulis.info">www.matthewpulis.info</a><br>> mob: +44 7866535953 / +356 79539404<br>> <br>
> <br>> <br>> On Fri, Apr 15, 2011 at 11:44 PM, Mike Saunt<br>> <<a href="mailto:mikesaunt@astuntechnology.com">mikesaunt@astuntechnology.com</a>>wrote:<br>> <br>>> I agree but a potential enhance ment someone may wish to add would be to<br>
>> convert each gz to a shape and then run a tileindex against the directory...<br>>><br>>><br>>> Sent from my mobile which isn't an iPhone<br>>> On 15 Apr 2011 19:33, "Matt Walker" <<a href="mailto:walkermatt@longwayaround.org.uk">walkermatt@longwayaround.org.uk</a>><br>
>> wrote:<br>>> > Hi Matt,<br>>> ><br>>> > If you are referring to the splitting the data from a given layer into a<br>>> > series of Shape files under 2GB then the OSMM loader doesn't do this at<br>
>> > present although I don't see why this couldn't be done quite easily.<br>>> > Generally though if you are working with a large volume of data loading<br>>> into<br>>> > a spatial database like PostGIS might be more suitable and the loader can<br>
>> > already load do that as it can load into any of the OGR formats (see<br>>> > <a href="http://www.gdal.org/ogr/ogr_formats.html">http://www.gdal.org/ogr/ogr_formats.html</a> for a list).<br>>> ><br>
>> > Cheers,<br>>> ><br>>> > Matt.<br>>> ><br>>> > On 15 April 2011 09:45, Saber <<a href="mailto:razmjooeis@faunalia.co.uk">razmjooeis@faunalia.co.uk</a>> wrote:<br>>> ><br>
>> >> Matthew<br>>> >><br>>> >> Ogr2ogr now truncates the attribute headers for shapefile when exceed 10<br>>> >> letters.<br>>> >> Cheers<br>>> >> Saber<br>
>> >><br>>> >><br>>> >> > Guys,<br>>> >> ><br>>> >> > I know some time ago I was trying the ogr2ogr but ended up hitting a<br>>> >> brick<br>
>> >> > wall in the case where SHP's dbf reached its limit. Does this tool<br>>> split<br>>> >> > the<br>>> >> > SHPs into small numbers? Since OS data is quite big, such a feature<br>
>> would<br>>> >> > surely be helpful.<br>>> >> ><br>>> >> > Good job on the util ;)<br>>> >> ><br>>> >> > Matthew<br>>> >> ><br>
>> >> ><br>>> >> > Matthew Pulis BSc. (Business and Computing) MSc. (Informatics)<br>>> >> > web: <a href="http://www.matthewpulis.info">www.matthewpulis.info</a><br>>> >> > mob: +44 7866535953 / +356 79539404<br>
>> >> ><br>>> >> ><br>>> >> ><br>>> >> > On Wed, Apr 13, 2011 at 11:10 PM, Saber Razmjooei<br>>> >> > <<a href="mailto:razmjooeis@faunalia.co.uk">razmjooeis@faunalia.co.uk</a><br>
>> >> >> wrote:<br>>> >> ><br>>> >> >> Matt<br>>> >> >><br>>> >> >> Excellent. No, your code was clear and well-licensed :)<br>>> >> >> We will try to add MasterMap styling for qgis plus export to PostGIS<br>
>> and<br>>> >> >> other ogr format in near future, which is mostly qgis stuff.<br>>> >> >><br>>> >> >> There are already plugins for exporting/importing QGIS styling to<br>
>> >> >> Mapserver .. maybe we can do it once for both Mapserver and QGIS?<br>>> >> >><br>>> >> >> Cheers<br>>> >> >> Saber<br>>> >> >><br>
>> >> >><br>>> >> >><br>>> >> >><br>>> >> >> On Wed, 2011-04-13 at 21:57 +0100, Matt Walker wrote:<br>>> >> >> > Nice work Saber, just tried it with the Topographic Layer sample<br>
>> from<br>>> >> >> > the OS website on our home laptop (Ubuntu 9.10, Quantum GIS 1.5.0,<br>>> >> >> > GDAL/OGR 1.7.2 all defaults from packages) and it worked a treat<br>>> :-).<br>
>> >> >> > I've put a note on the project page and I'll mention it to the OS.<br>>> >> >> ><br>>> >> >> > Is there anything you need to change or would like to see improved?<br>
>> >> >> ><br>>> >> >> > Cheers,<br>>> >> >> ><br>>> >> >> > Matt.<br>>> >> >> ><br>>> >> >> > On 13 April 2011 13:42, Saber Razmjooei <<a href="mailto:razmjooeis@faunalia.co.uk">razmjooeis@faunalia.co.uk</a><br>
>> ><br>>> >> >> > wrote:<br>>> >> >> > Matt<br>>> >> >> ><br>>> >> >> > We have taken your code and ported it as QGIS plugin.<br>
>> >> >> > Here is the link to the repo. At the moment it's shapefile but<br>>> >> >> > future<br>>> >> >> > changes will support other formats.<br>>> >> >> ><br>
>> >> >> > <a href="http://moses.faunalia.co.uk/qgis/plugins/plugins.xml">http://moses.faunalia.co.uk/qgis/plugins/plugins.xml</a><br>>> >> >> ><br>>> >> >> > Cheers<br>
>> >> >> > Saber<br>>> >> >> ><br>>> >> >> ><br>>> >> >> ><br>>> >> >> > On Thu, 2011-04-07 at 09:54 +0100, Matt Walker wrote:<br>
>> >> >> > > Hi Guys,<br>>> >> >> > ><br>>> >> >> > > At Astun we've been working with OS data for years with Open<br>>> >> >> > Software.<br>
>> >> >> > > We've recently signed up as Developer Partners which allows<br>>> >> >> > access to<br>>> >> >> > > data for development, testing and demonstration and also<br>
>> >> >> > joined the<br>>> >> >> > > Insight program which allows early access to new products.<br>>> >> >> > I'd be<br>>> >> >> > > happy to pass on details to anyone that's interested.<br>
>> >> >> > ><br>>> >> >> > > I agree that we should look to get the open software we know<br>>> >> >> > is<br>>> >> >> > > compatible on the list and I'm happy to find out what's<br>
>> >> >> > required.<br>>> >> >> > ><br>>> >> >> > > On a related note we've recently pulled together a simple OS<br>>> >> >> > MasterMap<br>
>> >> >> > > loader which is a thin Python wrapper around OGR 1.8. The<br>>> >> >> > source is<br>>> >> >> > > available at <a href="https://github.com/AstunTechnology/osmmloader">https://github.com/AstunTechnology/osmmloader</a>.<br>
>> >> >> > It's only<br>>> >> >> > > designed to load an initial supply at present but we will<br>>> >> >> > possibly<br>>> >> >> > > look at adding CoU support in future. Jo Cook has been<br>
>> >> >> > working on a<br>>> >> >> > > MapServer map file to style the output which we'll put up<br>>> >> >> > with the<br>>> >> >> > > source shortly. Some highlights include: it uses ogr2ogr<br>
>> >> >> > which meeans<br>>> >> >> > > that you can write to all destination formats supported by<br>>> >> >> > OGR by<br>>> >> >> > > providing ogr2ogr command line options; it reads GML or GZ<br>
>> >> >> > natively<br>>> >> >> > > and it's open software :-)<br>>> >> >> > ><br>>> >> >> > > Thanks,<br>>> >> >> > ><br>
>> >> >> > > Matt.<br>>> >> >> > ><br>>> >> >> > > On 6 Apr 2011 17:19, "Barry Rowlingson"<br>>> >> >> > <<a href="mailto:b.rowlingson@lancaster.ac.uk">b.rowlingson@lancaster.ac.uk</a>><br>
>> >> >> > > wrote:<br>>> >> >> > > > On Tue, Apr 5, 2011 at 10:33 PM, Joanne Cook<br>>> >> >> > > <<a href="mailto:j.cook@thehumanjourney.net">j.cook@thehumanjourney.net</a>> wrote:<br>
>> >> >> > > >> Perhaps we should find out who to contact and offer to<br>>> >> >> > update it<br>>> >> >> > > for them?<br>>> >> >> > > ><br>
>> >> >> > > > There's a customer services contact:<br>>> >> >> > > ><br>>> >> >> > > > "For general enquiries, complaints, feedback or<br>
>> >> >> > suggestions, email:<br>>> >> >> > > > <a href="mailto:customerservices@ordnancesurvey.co.uk">customerservices@ordnancesurvey.co.uk</a> or call us on 08456<br>>> >> >> > 05 05 05"<br>
>> >> >> > > ><br>>> >> >> > > > I think we need someone to enquire for a sample of test<br>>> >> >> > data sets,<br>>> >> >> > > > and what the OS consider as 'supports' in the table. Just<br>
>> >> >> > loading it<br>>> >> >> > > > without errors might not be enough.<br>>> >> >> > > ><br>>> >> >> > > > It might also be worth suggesting they add a GDAL/OGR row<br>
>> >> >> > which<br>>> >> >> > > would<br>>> >> >> > > > cover most Open-source GIS and lots of proprietary ones<br>>> >> >> > too.<br>
>> >> >> > > ><br>>> >> >> > > > Barry<br>>> >> >> > > > _______________________________________________<br>>> >> >> > > > UK mailing list<br>
>> >> >> > > > <a href="mailto:UK@lists.osgeo.org">UK@lists.osgeo.org</a><br>>> >> >> > > > <a href="http://lists.osgeo.org/mailman/listinfo/uk">http://lists.osgeo.org/mailman/listinfo/uk</a><br>
>> >> >> > ><br>>> >> >> > > _______________________________________________<br>>> >> >> > > UK mailing list<br>>> >> >> > > <a href="mailto:UK@lists.osgeo.org">UK@lists.osgeo.org</a><br>
>> >> >> > > <a href="http://lists.osgeo.org/mailman/listinfo/uk">http://lists.osgeo.org/mailman/listinfo/uk</a><br>>> >> >> ><br>>> >> >> ><br>>> >> >> ><br>
>> >> >> ><br>>> >> >> ><br>>> >> >> ><br>>> >> >> > --<br>>> >> >> > Matt Walker<br>>> >> >> > @_walkermatt<br>
>> >> >> ><br>>> >> >><br>>> >> >><br>>> >> >> _______________________________________________<br>>> >> >> UK mailing list<br>>> >> >> <a href="mailto:UK@lists.osgeo.org">UK@lists.osgeo.org</a><br>
>> >> >> <a href="http://lists.osgeo.org/mailman/listinfo/uk">http://lists.osgeo.org/mailman/listinfo/uk</a><br>>> >> >><br>>> >> ><br>>> >><br>>> >><br>
>> >><br>>> ><br>>> ><br>>> > --<br>>> > Matt Walker<br>>> > @_walkermatt<br>>><br></div>