<codeBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="ddi:codebook:2_5 http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" xmlns="ddi:codebook:2_5">
  <docDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Dataset av början-och-slut par i gatunätverk, för utvärdering av Earth Mover's Distance som ett mått av likriktning</titl>
        <altTitl>OD-pair Street network alignment Data</altTitl>
        <parTitl xml:lang="en">Dataset of origin and destination pairs in street networks, for the evaluation of the Earth Mover's Distance as a metric of alignment</parTitl>
        <IDNo agency="SND">2025-252-1</IDNo>
        <IDNo agency="DOI">https://doi.org/10.71540/gmb4-cf38</IDNo>
      </titlStmt>
      <prodStmt>
        <producer xml:lang="en" abbr="SND">Swedish National Data Service</producer>
        <producer xml:lang="sv" abbr="SND">Svensk nationell datatjänst</producer>
      </prodStmt>
      <holdings URI="https://doi.org/10.71540/gmb4-cf38">Landing page</holdings>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Dataset av början-och-slut par i gatunätverk, för utvärdering av Earth Mover's Distance som ett mått av likriktning</titl>
        <altTitl>OD-pair Street network alignment Data</altTitl>
        <parTitl xml:lang="en">Dataset of origin and destination pairs in street networks, for the evaluation of the Earth Mover's Distance as a metric of alignment</parTitl>
        <IDNo agency="SND">2025-252-1</IDNo>
        <IDNo agency="DOI">https://doi.org/10.71540/gmb4-cf38</IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty xml:lang="en" affiliation="Department of Computing Sciences, Umeå University">Krantz-Horned, Arvid</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="Institutionen för datavetenskap, Umeå universitet">Krantz-Horned, Arvid</AuthEnty>
        <AuthEnty xml:lang="en" affiliation="Department of Computing Science, Umeå University">Richter, Kai-Florian</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="Institutionen för datavetenskap, Umeå Universitet">Richter, Kai-Florian</AuthEnty>
        <AuthEnty xml:lang="en" affiliation="Department of Computing Science, Umeå University">Falomir, Zoe</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="Institutionen för Datavetenskap, Umeå Universitet">Falomir, Zoe</AuthEnty>
        <AuthEnty xml:lang="en" affiliation="">Department of Computing Science, Umeå University</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="">Institutionen för datavetenskap, Umeå universitet</AuthEnty>
      </rspStmt>
      <prodStmt />
      <distStmt>
        <distrbtr xml:lang="en" abbr="SND" URI="https://snd.se">Swedish National Data Service</distrbtr>
        <distrbtr xml:lang="sv" abbr="SND" URI="https://snd.se">Svensk nationell datatjänst</distrbtr>
        <distDate xml:lang="en" date="2026-03-09" />
      </distStmt>
      <verStmt>
        <version elementVersion="1" elementVersionDate="2026-03-09" />
      </verStmt>
      <holdings URI="https://doi.org/10.71540/gmb4-cf38">Landing page</holdings>
    </citation>
    <stdyInfo>
      <subject>
        <keyword xml:lang="en" vocab="EnvThes" vocabURI="http://vocabs.lter-europe.net/EnvThes/20295">geographic information system</keyword>
        <keyword xml:lang="en" vocab="AGROVOC" vocabURI="http://aims.fao.org/aos/agrovoc/c_29062">urban environment</keyword>
        <keyword xml:lang="en" vocab="AGROVOC" vocabURI="http://aims.fao.org/aos/agrovoc/c_5144">network analysis</keyword>
      </subject>
      <abstract xml:lang="en" contentType="abstract">This dataset was created as part of my PhD Project at the Department of Computing Science investigating how map readers perceive the complexity of routes displayed on a digital map. As part of my PhD project, I have conducted two experiments where participants have been asked to judge the complexity of different routes and describe what made them look more complex. Some of the routes that the participants were shown were in grid-like street networks, and when describing why these routes look complex, they sometimes described the routes as either aligned or misaligned. As an example, a path can be described as to follow the street, if the destination is oriented in alignment with the primary orientations in the street network; and it can be said to cross the river, or to cross the street, if the orientation is misaligned. This triggered an investigation into how the alignment between the orientation of the origin and destination of a route with(in) how the streets are oriented in the surrounding street network.

The primary dataset contains 79,987 Origin and Destination pairs (OD-pair) that have been sampled from five locations in 100 different cities to evaluate the Earth Mover's Distance (EMD) between circular distributions as a metric of alignment. Where a higher EMD is indicative of a higher degree of misalignment between the orientations. The dataset was used to test whether a higher EMD is predictive of longer and more complex routes, and compare it to other predictors including properties of the street network that earlier research have identied as sources of route complexity.</abstract>
      <abstract xml:lang="sv" contentType="abstract">Det här är ett dataset som jag skapade för mitt doktorandprojekt inom datavetenskap vars syfte är att undersöka hur kartläsare uppfattar komplexiteten av rutter som visas på digitala kartor. I mitt doktorandprojekt så har jag tidigare genomfört två experiment där deltagare har blivit tillfrågade att bedömma komplexiteten av olika rutter och sedan beskriva vad som gör att de ser komplexa ut. Några av rutterna som deltagarna har fått bedömma har varit i rutnätiga gatunät, och när deltagarna beskriver varför dessa rutter ser komplexa ut så beskriver de ibland ruttens riktning som likriktig eller felriktad i förhållande till gatunätet rutten är en del av. Till exempel så kan en rutt beskrivas som att den följer en gata ifall början och slutet av en rutt är i linje (likriktning) med gatan rutten följer, eller att den går tvärs över gatunätet när linjen mellan ruttens början och slut är diagonal (felriktad) i förhållande till gatunätets gator. Det här ledde till en undersökning av hur likriktning mellan en rutts början och slut och gatorna i ett gatunät kan operationaliseras och mätas.

Datan innehåller 79,987 början-och-slut par runt fem platser i 100 olika städer som har valts för att utvärdera Earth Mover's Distance (bokstavligt översatt till "jord flyttar avstånd") mellan cirkulära sannolikhets-fördelningar som ett mått på likriktning. Där ett högre avstånd indikerar en högre grad av felriktighet mellan riktningar. Datan användes för att testa ifall ett högre avstånd förutsäger längre och mer komplexa rutter, i jämförelse med egenskaper av gatunätet som tidigare forskning har identifierat att bidra till en rutts komplexitet.</abstract>
      <sumDscr>
        <collDate xml:lang="en" date="2025-04-01" event="start">2025-04-01</collDate>
        <collDate xml:lang="en" date="2025-09-01" event="end">2025-09-01</collDate>
        <dataKind xml:lang="en">Numeric</dataKind>
        <dataKind xml:lang="en">Text</dataKind>
        <dataKind xml:lang="en">Geospatial</dataKind>
      </sumDscr>
    </stdyInfo>
    <method>
      <dataColl>
        <collMode xml:lang="en">This dataset is the result of analysing or interpreting data made available by OpenStreetMap, using python  to process and analyse this data. Further analysis is then done in R, where the earth movers distance is calculated and the results for the paper are produced.

The procedure is as follows, beginning with a list of 100 cities used in earlier research.
- In every city five origins are selected randomly within a bounding box using the city center as the center.
- The drivable and publicly accessible street network around each origin is downloaded and represented as a graph.
- Around each origin up to 180 destinations within 4750 meters to 5250 meters from the origin are selected in a circular fashion.
- The origin and destinations surrounding it are used to create origin-destination pairs (OD-pairs) 
- Data is gathered for every OD-pair, including information about the shortest route from the origin to the destination and information about the street network surrounding the OD-pair.<concept vocab="DDI Mode of Collection" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/5.0.0?languageVersion=en-5.0.0">This dataset is the result of analysing or interpreting data made available by OpenStreetMap, using python  to process and analyse this data. Further analysis is then done in R, where the earth movers distance is calculated and the results for the paper are produced.

The procedure is as follows, beginning with a list of 100 cities used in earlier research.
- In every city five origins are selected randomly within a bounding box using the city center as the center.
- The drivable and publicly accessible street network around each origin is downloaded and represented as a graph.
- Around each origin up to 180 destinations within 4750 meters to 5250 meters from the origin are selected in a circular fashion.
- The origin and destinations surrounding it are used to create origin-destination pairs (OD-pairs) 
- Data is gathered for every OD-pair, including information about the shortest route from the origin to the destination and information about the street network surrounding the OD-pair.</concept></collMode>
        <collMode xml:lang="sv">Detta dataset är resultatet av en analys eller tolkning av data som tillgängliggjordes av OpenStreetMap. Denna analys genomfördes med hjälp av Python och kompletterades genom ytterligare en analys i R, där ”earth movers” avstånd beräknades och resultaten för forskningsartikeln togs fram.

Proceduren fungerar så här och börjar med en lista över 100 städer som använts i tidigare forskning.
- I varje stad väljs fem startpunkter slumpmässigt ut. Dessa startpunkter ligger inom en avgränsningsruta med stadens centrum som centrum.
- Det körbara och allmänt tillgängliga gatunätet runt varje utgångspunkt laddas ner och representeras som en graf.
- Runt varje startpunkt väljs upp till 180 destinationer inom ett avstånd mellan 4750 meter och 5250 meter från startpunkten så att de bildar ett cirkulärt mönster.
- Startpunkten och destinationerna kring den används för att skapa start-destinationspar (OD-par).
- Data samlas in för varje OD-par, inklusive information om den kortaste vägen från startpunkten till destinationen och information om gatunätet runt ett specifikt OD-par.<concept vocab="DDI Mode of Collection" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/5.0.0?languageVersion=sv-5.0.0">Detta dataset är resultatet av en analys eller tolkning av data som tillgängliggjordes av OpenStreetMap. Denna analys genomfördes med hjälp av Python och kompletterades genom ytterligare en analys i R, där ”earth movers” avstånd beräknades och resultaten för forskningsartikeln togs fram.

Proceduren fungerar så här och börjar med en lista över 100 städer som använts i tidigare forskning.
- I varje stad väljs fem startpunkter slumpmässigt ut. Dessa startpunkter ligger inom en avgränsningsruta med stadens centrum som centrum.
- Det körbara och allmänt tillgängliga gatunätet runt varje utgångspunkt laddas ner och representeras som en graf.
- Runt varje startpunkt väljs upp till 180 destinationer inom ett avstånd mellan 4750 meter och 5250 meter från startpunkten så att de bildar ett cirkulärt mönster.
- Startpunkten och destinationerna kring den används för att skapa start-destinationspar (OD-par).
- Data samlas in för varje OD-par, inklusive information om den kortaste vägen från startpunkten till destinationen och information om gatunätet runt ett specifikt OD-par.</concept></collMode>
        <collMode xml:lang="en">Compilation/Synthesis<concept vocab="DDI Mode of Collection" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/5.0.0?languageVersion=en-5.0.0">Compilation/Synthesis</concept></collMode>
        <collMode xml:lang="sv">Kompilering/Syntes<concept vocab="DDI Mode of Collection" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/5.0.0?languageVersion=sv-5.0.0">Kompilering/Syntes</concept></collMode>
      </dataColl>
    </method>
    <dataAccs>
      <useStmt>
        <restrctn xml:lang="en">Access to data through SND. Data are freely accessible.</restrctn>
        <restrctn xml:lang="sv">Åtkomst till data via SND. Data är fritt tillgängliga.</restrctn>
        <conditions elementVersion="info:eu-repo-Access-Terms vocabulary">openAccess</conditions>
      </useStmt>
    </dataAccs>
    <othrStdyMat>
      <relPubl>
        <citation>
          <titlStmt>
            <titl xml:lang="sv">Krantz-Horned, A., Falomir, Z., and Richter, K.-F. (2025). Measuring Alignment with the Grid: Evaluating the Earth Mover’s Distance as a Metric of Alignment between Orientations. Submitted manuscript.</titl>
            <parTitl xml:lang="en">Krantz-Horned, A., Falomir, Z., and Richter, K.-F. (2025). Measuring Alignment with the Grid: Evaluating the Earth Mover’s Distance as a Metric of Alignment between Orientations. Submitted manuscript.</parTitl>
          </titlStmt>
          <distStmt>
            <distDate date="2025">2025</distDate>
          </distStmt>
        </citation>
      </relPubl>
    </othrStdyMat>
  </stdyDscr>
</codeBook>