[Benchmarking] Sample Barcelona Vector Dataset

Marco Hugentobler marco.hugentobler at sourcepole.ch
Wed Jul 21 03:16:20 EDT 2010


Hi Jeff

> - if we wish to use the Contour layer for labels, the field that we
> would use is COTA_0201

+1

Seems that QGIS displays the data correctly. However, it does not have an 
'auto repeat' function, so each contour will be labelled only once.

Regards,
Marco

Am Montag, 19. Juli 2010, um 21.00:30 schrieb Jeff McKenna:
> Thanks Marco, I have applied your scale visibility to my layers, and
> uploaded their SLD documents.  I also added reference to these scales in
> the wiki:
> http://wiki.osgeo.org/wiki/Benchmarking_2010/How_to_get_some_sample_data#Ve
> ctor_data_issues
> 
> Other notes:
> 
> - As Andrea pointed out, MapServer seems to have a problem with
> generating an SLD with a LABEL (it doesn't include the
> <ogc:PropertyName> tag).  A ticket was already filed:
> http://trac.osgeo.org/mapserver/ticket/3023
> 
> - if we wish to use the Contour layer for labels, the field that we
> would use is COTA_0201; the problem is that that field has a precision
> of 15, meaning existing values are similar to "300.000000000000000".
> MapServer doesn't have a way (yet) to trim these values (there are ways
> around this but extremely slow).  Normally I would pre-process the data
> file to make it an integer field.
> 
> Are we too late to re-process the contours.shp file and change the field
> type??
> 
> -jeff
> 
> Marco Hugentobler wrote:
> > Hi Jeff
> > 
> > I tried to turn the mapfile into a QGIS project file and configured a
> > QGIS mapserver instance with it:
> > 
> > http://geoserver.sourcepole.ch/cgi-bin/benchmark_2010/qgis_mapserv.fcgi?
> > 
> > and the project file is at:
> > http://geoserver.sourcepole.ch/benchmark_project.qgs
> > 
> > Scale dependent visibility: in my project, industry, buildings and
> > contours only show up for scale denominators < 30000.
> > Point-labels-for-geometry only show up < 50000.
> > 
> > Other propositions about scale dependent visibility of layers?
> 
> _______________________________________________
> Benchmarking mailing list
> Benchmarking at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/benchmarking


-- 
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Webereistr. 66, CH-8134 Adliswil, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


More information about the Benchmarking mailing list