Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Da:Help/Concepts/Object
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages(revision=13)]] = Objekter - De grundlæggende byggesten i OSM data og kort = JOSM hjælper dig med at indtaste data om rigtige objekter i OSM geo-databasen. På trods at den overvældende kompleksitet af de rigtige objekter du kan kortlægge, giver JOSM kun tre typer af objekter som byggesten for kort: '''punkter''', '''veje''', og '''relationer'''. Du kan tilknytte '''tags''' til objekter. Det er det tilknyttede sæt af tags der gør at et punkt der repræsenterer en restaurant er forskelligt fra et punkt der repræsenterer en kirke, eller at en vej der repræsenterer en villavej er forskellig fra en vej der repræsenterer en flod, eller en relation der repræsentere en busrute er forskellig fra en relation der repræsentere en cykelrute. [[TOC(inline)]] == Punkter, veje, og relationer == #NodesWaysRelations === Punkter === #Nodes [[Image(source:trunk/images/data/node.png)]] Et '''punkt''' er et individuelt punkt med en defineret position. === Veje === #Ways [[Image(source:trunk/images/data/way.png)]] En '''vej''' er en rækkefølge af punkter. På trods af dets navn er '''vej''' ikke kun repræsentant for rigtige veje. En OSM '''vej''' bruges også til at repræsentere en flod, kommunegrænser eller sågar en bygning. Hvis en '''vej''' er lukket, dvs. at det sidste punkt er det samme som det første punkt, kaldes det også for et '''område'''. === Relationer === #Relations [[Image(source:trunk/images/data/relation.png)]] En '''relation''' er en rækkefølge af andre objekter, for eksempel en rækkefølge af '''veje''' (der repræsenterer vejsegmenter) og '''punkter''' (der repræsentere bus-stoppesteder) som repræsenterer en busrute. Hvert objekt der er en del af en '''relation''' kan tilknyttes en '''rolle''', for eksempel `stop` for et bus-stoppested på en busrute, eller `fremad` for et vejsegment der er en del af busruten fra start til endestationen. == Tags == Et '''tag''' er et navn-/værdipar der er tilknyttet til et objekt. Tags bruges til at beskrive et objekt i detaljer. Hvis vi skriver `foo`=`bar` betyder det ''Tag'et med nøglen foo er tilknyttet værdien bar''. Her er nogle eksempler: * `name`=`Hovedvejen` tilknyttet til en '''vej'''. Dette tag angiver at navnet på vejen er `Hovedvejen`. * `amenity`=`restaurant` tilknyttet til et '''punkt'''. Dette tag angiver at '''punktet''' repræsenterer en restaurant i den virkelige verden. * `route`=`bus` tilknyttet til en '''relation'''. Dette tag angiver at relationen repræsenterer en busrute. Tag's kan kombineres. Et objekt kan have så mange tag's som det er nødvendigt. Her er et mere komplekst eksempel: {{{ highway=living_street name=Hovedvejen name:de=Hauptstrasse maxspeed=30 hgv=no oneway=yes }}} Når dette er tilknyttet til en vej, betyder denne samling af '''tag's''' at '''vejen''' repræsenterer et opholds- og legeområde med navnet ''Hovedvejen'' (det tyske navn er ''Hauptstrasse''). Hastigheden er begrænset til 30km/t og tung trafik (hgv) er ikke tilladt. Derudover er det en ensrettet vej. Du kan frit tilknytte de tag's du har behov for til et objekt. Dog er der en liste med såkaldte [http://wiki.openstreetmap.org/wiki/Map_Features Kortegenskaber], dvs. en liste med '''tag's''' der har en veldefineret betydning som oftest bruges af kortlæggere. Når det er muligt anbefales det at du holder dig til disse tag's da kort-renderer, ruteberegnere og andre typer software arbejder ud fra dem. I [[Image(source:trunk/images/dialogs/propertiesdialog.png)]] [Dialog/Properties Egenskaber dialogen] kan du tilknytte tag's til et objekt, fjerne tag's fra et objekt eller redigere tilknyttede tag's. == Objekt id'er == OSM serveren tildeler hvert objekt et unikt nummer, '''objekt ID'et''' eller '''OSM ID'et'''. Et nyt objekt har ikke et ID (dets ID er 0) indtil det bliver uploadet til OSM serveren første gang. Under '''[[Image(source:trunk/images/preference.png)]] [Action/Preferences Indstillinger] -> [[Image(source:trunk/images/preferences/display.png,20)]] [Preferences/Display Indstillinger for visning] -> Udseende''' er det muligt at aktivere eller deaktivere visningen af objekt ID i markeringslister. Med '''[Menu/File Filer] -> [[Image(source:trunk/images/downloadprimitive.png)]] [Action/DownloadObject Download objekt...]''' (''{{{Ctrl+Shift+O}}}'') er det muligt at downloade '''objekter''' via Id'er. '''Vis -> [[Image(source:trunk/images/about.png)]] [Action/InfoAboutElements Information om element]''' (''{{{Ctrl+I}}}'') åbner '''objektets' side''' for de valgte objekter på [http://www.openstreetmap.org OSM webstedet] i din webbrowser. Alternativt kan du søge direkte på objekter ved at indtaste følgende adresse i din webbrowser: {{{http://www.openstreetmap.org/browse/[node/way/relation]/[ID]}}} == Objekt versioner == Hvert objekt har en '''version'''. '''Versionen''' forøges hver gang det bliver uploadet til serveren og OSM serveren gemmer ikke blot den nyeste version af objektet men hele dets '''historik'''. I [[Image(source:trunk/images/dialogs/history.png)]] [Dialog/History Historik dialogen] kan du indlæse '''historikken''' for et objekt og starte [Dialog/History#Workingwiththehistorybrowser Historik browseren]. Historik browseren vil vise dig '''versionerne''' for et bestemt objekt. Alternativt vil, '''''Vis -> [[Image(source:trunk/images/about.png)]] [Action/ObjectHistory Objekthistorik]''''' åbne en side på [http://www.openstreetmap.org OSM webstedet] i din webbrowser som også viser objekthistorikken. ---- Tilbage til [wiki:/Da:Help Hjælpeforsiden]
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.