[OSGeo-UK] How to use OS data? Missing OS GIS

Saber razmjooeis at faunalia.co.uk
Sat Apr 16 07:03:03 EDT 2011


In QGIS, you can style spatialite and postgis the same way you do for
shapefiles.

Cheers
Saber


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




More information about the UK mailing list