Bestand wählen
Merken

Cartography in Mapserver from a user's perspective

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
Ch all day welcome everyone and my name is sloshes back and we can talk about 2 of my favorite subjects photography and map server and
if when I can combine them into 1 talk it's just perfect so the little above my background i'm leaving a stock in
Sweden I work for assault the airplane manufacturer solve I have embassy and land surveying and my background in open source started already in long time ago I was active contributors to the grass project back in the eighties beginning of the nineties and and that was because of the DPC cryptography and I use grass for that I started using map server in 2002 uh and in those states I use is more like application framework with PHP then I came back using graph 3 years ago or so and then press was kind of another if products now setting up a service with it just as I didn't care about application uh let other people consume my services the so I don't care if it's OpenLayers or if a warm wind client that's using my materia so what I'm gonna talk about here is setting up a
WMS server with yet hetrogeneous state up in I will talk about authoring tools and options in map server shortcomings in the data that I've found and preprocessing which the dollar an old you are and some performance and I have 1 will take 4 years to win map server configuration in the end so my task was to
set up the Nordic back we that for it was to set it up on the in tranet no Internet access so I couldn't use ordinary base maps like most products do with 4 from being more always them or wherever you get your basement so this is really about making your own base maps I had to use official data sources and the design requirements I have that was that it had to be fast rendering and nice photography those were basically the demand had so the data sources it's from the different net
and national agencies in the Nordic countries want and 1 million data and 250 k data and from Sweden 4 thousand K 1 k data and 500 take there Sousa K data from 500 k data from Norway Denmark and I had a 500 K and 200 today and the learner ahead for a confinement can take data and 1 million acts had a dataset 250 K as well but I never had time to integrate that in a project so it was a little disperse the set of data had and and of course for the highest levels the most some dada use natural birth date as well so symbols that are mostly been using the
Swedish fonts that were supplied by the National Agency there or fonts available from Denmark and Norway as well Norway also have fonts for minority language like that this language and and that's something that had to consider later on but I haven't taking that yet the and I was considering using SVG whenever possible but that would come they maybe in the next phase so I started off with
natural data and I should mention here also that all these are in
different projections of course but the customer wanted actually GPS uh 6 the 32 633 uh that's you chance so in thirtytwo projections and so that's sort of face what ended this
so here is just matter of so I use that for a outside the Nordic countries so you consume out a little more so the server editing options
there are I would say 2 options today if your own Windows platform there's a product called Mac manager had haven't heard anyone talk about it uh during this conference but it's really nice products and I can really recommend it but it's on windows and I do all my the development of underlying or this uh and so on that that and it did was a little too much clicking in my taste also but but it's more like working you and then there's option that's close scribed UI from Matusik it has progressed but when I started this a little more than a year ago then that was not finished but I think it's a very nice product today but I haven't tried it out fully yet but what it brings to the table if the news index the stripes intact and check that also introduce even earlier
so I skipped editors and there's different levels that you can do manually editing as well there isn't just red raw editing and you turn it down there is a problem map project but should have adapted that uh but maybe I so it as a little too complicated to get started with but had 2nd thoughts thoughts afterwords may but should I got that way but primarily I'm very lucky that I went the way I went so I use the scribe syntax and use manually so my source was then to word a lot
windows you have 1 window where you run this precept processing scruples scribes syntactic fires and it increased my productivity considered really I would say that's probably increased my productivity by 50 to 100 % at least from just from from right and regular map fights so you you you have all up on your desktop the prompt a couple of edit tourists and even mostly used to build the in uh OpenLayers fewer that's would available in map server so that's that's my whole authoring them Byron and so it's pretty much the same what you get in this crowd you UI today so preparing the
data and since it was all yeah there's a lot of facts hundreds of this so I used 1st the script of the scores its shape Maria shit merger I'm hours uh a lot of fuss over too many to get more bigger ones and I did some clipping and that's you do with all g Otto J. that and then of
this is is that I'm not sure if I the diameter not but our re-projected everything into the the projection that Norway had and the 3rd 2 2 6 son of the 2 3 so that all the Swedish State finish date and Danish stand there and even after at that time a projected it's I would have that I could have gone with the US on Friday re-projection but I had to design requirements to make it fast so I re-projected everything and of course you have to create this index size was tree and to increase the speed if you forget that uh is not going to be as fast so that's something really important that you do on all your files the and then I started to add country-by-country so I
started at this we there's the so in Denmark so don't embryo that country
separately that was and I would come a little to the stripes syntax
is looks almost the same but it's a
little different and this is the main plot that you have in the top of a map 5 you probably recognize how many people are MAXserver users here and this all great so if you are a master reuse I'm sure you recognize it but it looks a little different at so you have the main definitions in 1 5 then due to find all the layers that you have and I think this was all the layers and then you add it this kind of layers in a separate file course they can it include more MAXserver layers inside each 1 of these layers but these are the ones that that my scribe scripted then assembles to total map finally and so let's see I had 9 9 after Earth layers about 15 Swedish layers ucla Norwegian Finnish then it's and then certainly since I had cut out by country borders on territorial borders uh I had to put some layer respected and for instance various that runs grow between countries those you had to have to add in and otherwise the 1 shot yeah and then I I put on a 2nd set of national borders follow for control of cartographic looked in there and on top of a thing as well you defined assume levels also so you have
1 configuration file for this assume levels uh so you don't need to think too much about Max scale denominator means means go denominative you never have to think about that because you you define your scales and you can think about this as the the skills that you have in a w and 2 years of service entire service so it's it's actually the different scales where you render when 1 thing is
also that you define you have 1 file where you define all of your variables and this is 1 of the very strong features with scribe for instance the blue block here I will use that the little later when I come to my layers uh I do later configure and that is as I could tell what group produces his status on or off for the default projection and labor clipboard and so on so sort of things that I want to have the same in most players I didn't define it up front the same thing with the road style it at tributes of like land line cat and line drawing how define that so I define it just once here and I can also predefined in a number of colors so in the end I use a problem have thousands so colors so I could have 1 set of colors for Swedish map as loses Swedish portion of the map uh and another set for the Norwegian and so on if I'm right and I did that so here for instance of re-use uh here
on starting to define a layer it's a layer that is valid In soon scale so the level of 8 to 16 so this is will go into the mount 5 4 of those Mac scales mean scale nominator's and otherwise it's pretty much the same uh I use 1 variable for later conflict and finally 1 of the feature here that's due to their and uh say that between some level of 8 and 12 I want to use this dataset and between a consumer level 13 to 16 I want to use another data source and that's where I hand it to you that you couldn't find that otherwise you know the old way of writing you had to do to layer definitions with about just 1 more data sources in each so I continue to come down to the class definition there is also that I
can't make 1 expression then that is yes valid for assume level 9 to 10 so I have moons of the classics the class item that I've run over here and I do that expression assume level 9 to 10 but then when I come down to scale this feature of that so it's public roads between real numbers 100 to 499 I would like to have the with consumer level 9 I would like to have it 1 pixel wide in Sumer levels 10 I would like to have at 1 point 2 pixels so it's it's very convenient to write it this way it was a little backwards 1st but it took me a 1 or 2 days to get adjusted from writing map of sort of narrow way but I really liked it it's it increases your way of Freddie Mac files and when you're done editing your files you just run this small Python script pirates and what the maps you want output and then you run your map files in the in your Beyeler if you have made your own little OpenLayers who are or you just a built-in so this
Mrs. find that probably assume level 8 or 9 or something 1 thing that I did was that the different photography in the different countries and I thought that was a nice feature because an due to distinguish them really really between the countries so I tried to follow the official match the colors that's true Swedish map authority uses of Sweden and tried to follow the colors Norwegian Mapping Authority users in Norway and my customer like this idea to so I was glad so here is you see a little closer this
is the Board of between Norway and Sweden but
here is the order between Denmark and with Denmark and Sweden we move to a little bit of OWL through the use of Swedish style on their rolled labels in Sweden and Danish style on the road labels in Denmark and Norwegian style for instance secondary highways or Brillouin Sweden the jello in Denmark and the white in Norway sigh different symbology there and 1
other thing since I had disparate datasets that to that I had different and our equidistance between the elevation lines but I don't think that matter so much really uh is still get a feeling for the so I think it's a it's it's not really bad year as long as you're aware that that is from different sources but that
shows also that since they have different color schemes you can't really imagine that it is from different sources text handling is maybe the most difficult part always this
is all the labels that were of available in their being normally and I had overhauled time and I I haven't
fully sorted out all the labeling in Norway and talked to some of the nor we did I say but somehow managed to fix it an the
Danish dataset was ordered learn a mapping for databases that are converted and it has some strange for if the features and you see that the bunch of a bunch letters crowded in a kind of both and it's nice because each assuming it looks like that
hydrographic features should be sector across but the the way that database was set up it had in the individual position on each letter so that was not so do of a database I think but that so it you could just use it for 1 of 2 soon levels really so here comes my little
trait that found not dinner menu but in some old USA user posting for instance when you have several world labels
on the same segment and you like to stack them in some way then you can use expressions so for instance here I would
like to do a major interstate wrote European interstate wrote he and I start without drawing 1 of them that is in labeled label 1 and
then I looked if there is a label
to and it also starts with the and then I can do so all set fall that 1 and draw it if there is no not it would not be drawn the so that enables you to stand from labels like that
and this can you you can do with 3 labels due to stack them horizontally or regions that from Berkeley practically no or a wrong if you do follow line that can stack them along the lines of there's many options how you would like to do the role labels that are pharmacists umbriel postings some work at live touted 1 other problem I had was
that this Swedish the telling and the positioning over over names were not In syntax for map server they were in the trees T just call so they work 1 2 3 4 5 6 7 8 9 and XIII managed to do the map server expressions but it became I think 40 50 rows long and took a long time to process so sometimes don't fight it so I wrote a small Python programmer then that added in X IR field with the we then map server sometimes you have to simplify your problem a little bit so so so wish list of
poor data producers here is that all data sets should be cut by national or territorial waters that really if efficiently be useful and all texts should actually be connected with some feature and not just have a cartographic person uh cartographic position than the sometimes very use less especially if you work in a multi the environment and so and they should not have fix cartographer but course map service about handling conflicts with labels and text it's it it's this wonderful tool for and then sorted out automatically without labeled catch that test so what do I have an X amount 5 I will let to this
project that's quite easy there's many good examples so but I would do improvements in the text handling that that is more that requires more work I will try and use more masks in maps or had some problems with that but of would continue to invest the gate that and I will find also work with this 57 data see shocks and that's also a little trickier and no 1 really knows how to do that the the so that was my
NO presentation the that and and he talked about working with masks in the future you tell explain a little warmer when you're trying accomplish there was there was yeah it was thought to that I shouldn't have to click the data so I've been trying to use masks instead uh for certain things but it seems like there is some problem with the vector masks to Warsaw vector data when you do read predictions but I have to construct example to send it to the user's leads to sorted out because I've been through been through some of the what is it called the testing test dataset and I can see that is working correctly in the test data set that uh with the vector mass to wars vector must but I think that is only done in standards for the 326 and when I cut with different projections is not behaving the way I think so I have to I was trying could try construct a example of when it's not working but chariot text thank you
Mapping <Computergraphik>
Systemprogrammierung
Server
Lesezeichen <Internet>
Mapping <Computergraphik>
Schwappende Flüssigkeit
Server
Computeranimation
Konfiguration <Informatik>
Graph
Open Source
Kartesische Koordinaten
Biprodukt
Framework <Informatik>
Computeranimation
Konfiguration <Informatik>
Task
Mapping <Computergraphik>
Font
Client
Dienst <Informatik>
GRASS <Programm>
Maßstab
Standardabweichung
Kryptologie
Server
GRASS <Programm>
Projektive Ebene
Aggregatzustand
Gewicht <Mathematik>
Dispersion <Welle>
Natürliche Zahl
Quarkconfinement
Symboltabelle
Quellcode
Biprodukt
Computeranimation
Internetworking
Übergang
Quellcode
Textur-Mapping
Rendering
Menge
Projektive Ebene
Shape <Informatik>
Font
Formale Sprache
Symboltabelle
Phasenumwandlung
Computeranimation
Quellcode
Subtraktion
Server
Projektive Ebene
Quick-Sort
Computeranimation
Shape <Informatik>
Konfiguration <Informatik>
Server
Konfiguration <Informatik>
Elektronische Publikation
Texteditor
Quellcode
Biprodukt
Systemplattform
Computeranimation
Übergang
Konfiguration <Informatik>
Mapping <Computergraphik>
Texteditor
Datenmanagement
Automatische Indexierung
Bildschirmfenster
Projektive Ebene
Wort <Informatik>
Softwareentwickler
Benutzerführung
Tabelle <Informatik>
Offene Menge
Shape <Informatik>
Prozess <Physik>
Texteditor
Browser
Vektorraum
Biprodukt
Computeranimation
Eins
Mapping <Computergraphik>
Auswahlaxiom
Regulärer Graph
Rechter Winkel
Bildschirmfenster
Server
Skript <Programm>
Skript <Programm>
Netzwerktopologie
Durchmesser
Automatische Indexierung
Indexberechnung
Projektive Ebene
Elektronische Publikation
Unified Threat Management
Computeranimation
Aggregatzustand
Trennungsaxiom
Mapping <Computergraphik>
Menge
Kreisring
Magnetkarte
Plot <Graphische Darstellung>
Elektronische Publikation
Computeranimation
Übergang
Gruppenkeim
Zahlenbereich
Computeranimation
Übergang
Arbeit <Physik>
Variable
Default
Ganze Funktion
Gerade
Bruchrechnung
Zentrische Streckung
p-Block
Elektronische Publikation
Quick-Sort
Variable
Konfiguration <Informatik>
Mapping <Computergraphik>
Dienst <Informatik>
Menge
Gruppenkeim
Rechter Winkel
Projektive Ebene
Kantenfärbung
Computerunterstützte Übersetzung
Instantiierung
Punkt
Klasse <Mathematik>
Versionsverwaltung
Regulärer Ausdruck
Übergang
Textur-Mapping
Arithmetischer Ausdruck
Reelle Zahl
Skript <Programm>
Nominalskaliertes Merkmal
Funktion <Mathematik>
Cliquenweite
Zentrische Streckung
Pixel
Datentyp
Softwarepiraterie
Klassische Physik
Quellcode
Objektklasse
Elektronische Publikation
Quick-Sort
Gerade
Mapping <Computergraphik>
COM
Pixel
Autorisierung
Mapping <Computergraphik>
Matching <Graphentheorie>
Kantenfärbung
Whiteboard
Übergang
Subtraktion
Bit
Quellcode
Kontextbezogenes System
Ordnung <Mathematik>
Gleitendes Mittel
Gerade
Instantiierung
Subtraktion
Mereologie
Nummerung
Quellcode
Kantenfärbung
Computeranimation
Textur-Mapping
Datenhaltung
Computeranimation
Ortsoperator
Datenhaltung
Ablöseblase
Computeranimation
Instantiierung
Übergang
Arithmetischer Ausdruck
MIDI <Musikelektronik>
Computeranimation
Instantiierung
Datentyp
Dynamisches RAM
Mehrrechnersystem
MIDI <Musikelektronik>
Extrempunkt
Bildschirmfenster
Benutzerführung
Computeranimation
Gammafunktion
Bit
Programmiergerät
Ortsoperator
Dialekt
Computeranimation
Konfiguration <Informatik>
Netzwerktopologie
Mapping <Computergraphik>
Datensatz
Arithmetischer Ausdruck
Datenfeld
Server
Gerade
Softwaretest
Ortsoperator
Wasserdampftafel
Versionsverwaltung
Computeranimation
Verdeckungsrechnung
Mapping <Computergraphik>
Textur-Mapping
Multiplikation
Dienst <Informatik>
Verknüpfungsglied
Polygon
Menge
Projektive Ebene
Hill-Differentialgleichung
Programmierumgebung
Softwaretest
Prognoseverfahren
Menge
Ruhmasse
Projektive Ebene
Vektorraum
Kombinatorische Gruppentheorie
Standardabweichung
Verdeckungsrechnung

Metadaten

Formale Metadaten

Titel Cartography in Mapserver from a user's perspective
Serientitel FOSS4G 2014 Portland
Autor Schylberg, Lars
Lizenz CC-Namensnennung 3.0 Deutschland:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
DOI 10.5446/31767
Herausgeber FOSS4G, Open Source Geospatial Foundation (OSGeo)
Erscheinungsjahr 2014
Sprache Englisch
Produzent FOSS4G
Open Source Geospatial Foundation (OSGeo)
Produktionsjahr 2014
Produktionsort Portland, Oregon, United States of America

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Setting up a multi-scale styling Web Map Service (WMS) with heterogeneous data from several sources can be a challenge. Various official databases from the Nordic countries have been used. The goal is to produce good looking, readable and efficient cartographic output.Topics that will be covered are as follows: How to choose appropriate content and style for various zoom levels. The Mapserver options to author a WMS service will be discussed. In this case the Scribe tool was chosen and used to carry out the work. The built in capabilities of Mapserver to do cartographic styling of point, line and polygons are exemplified. Heterogeneous data from several countries is discussed and how that affects the abilities to carry labeling for instance. Some shortcomings in the data sources are discussed. Some of these problems are solved by preprocessing data with the GDAL/OGR package. The intended use of the map is also discussed and how that influences feature selection for different zoom levels. Finally the performance tuning options for Mapserver are reviewed. The presentation aims to provide the attendees with enough information so that they can produce their own Mapserver WMS services with beautiful and useful maps.
Schlagwörter Cartography
Mapserver
WMS
multi-scale styling

Ähnliche Filme

Loading...
Feedback