Giter Club home page Giter Club logo

arcgis-osm-editor's Introduction

arcgis-osm-editor

ArcGIS Editor for OpenStreetMap - Welcome ArcGIS Editor for OpenStreetMap is a toolset for GIS users to access and contribute to OpenStreetMap through their Desktop or Server environment. Learn more here.

Features

  • Download data from OSM into a file geodatabase - download from current extent or load from .osm file
  • Create your own planet (.osm) files
  • Edit OSM data in ArcGIS
  • Upload edits back to OSM
  • Create routing networks from OSM data

Instructions

  1. Compiled setups (if you just want to install in ArcGIS and not deal with the code) can be downloaded from ArcGIS Online.
  1. Read documentation at http://github.com/Esri/arcgis-osm-editor/wiki/Documentation on how to use the tools

  2. If you want to work with the code:

    a) Fork and then clone the repo.

    b) See the documentation on working with the code ("Working with the code" section of this topic: http://github.com/Esri/arcgis-osm-editor/wiki/System-requirements,-installation,-&-working-with-the-code).

    c) If you want to work with the Server Component code, then do the following: 1) Please read the web.config to run the server and make sure all paths are correct. 2) Please make sure you install Visual Studio 2010 Service Pack 1. Best way to know you got the latest of Visual Studio is to install it from here: http://www.microsoft.com/web/gallery/install.aspx?appid=VWDorVS2010SP1Pack 3) Make sure you have ArcGIS 10.1 installed to run the Server part. 4) The application needs a SDE connection.You can change in the web.config where the sde file is: add key="DatabaseConnection" value="C:\Data\OSM\Mxds\osmdevsde.sde"

Requirements

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute.

Licensing

Copyright 2017 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

[](Esri Tags: ArcGIS Editor OpenStreetMap) [](Esri Language: C-Sharp)

arcgis-osm-editor's People

Contributors

cloveman avatar cviles avatar eggwhites avatar gdestigter avatar glennon avatar robblis avatar scw avatar skmoore avatar slibby avatar thomasemge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arcgis-osm-editor's Issues

Registry for configuration files (Greg to add more details)

The code queries the installation directory from the registry for configuration file locations. This needs to be investigated so the config files go to the correct location at 10.2.

(Greg: will you add more information? Then we can assign to Robert to investigate)

New version for 10.2

Just upgraded to 10.2 and obviously does not work. Is there a possibility of getting my hands on a version pretty soon as I have some projects requiring it.

Download OSM Data (XAPI) reports error if regional settings use comma decimal marker

If the Regional Settings on the computer hosting ArcGIS Desktop are set such that the decimal mark formats like this: 4.500,00 for four thousand five hundred, an error will result when the user attempts to use the Download OSM Data (XAPI) tool and select anything besides the 'default' extent.

This is the Error:

ERROR
updateMessage Execution Error: Runtime error Traceback (most recent call last): File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\OpenStreetMap Toolbox.tbx#XAPIDownload_osmtools.UpdateMessages.py", line 4, in File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\OpenStreetMap Toolbox.tbx#XAPIDownload_osmtools.UpdateMessages.py", line 28, in updateMessages ValueError: invalid literal for float(): -118,251675516033

To replicate: On the computer hosting ArcGIS, launch the Regional Settings from Control Panel. Select a region that uses this format - e.g., Dutch (Netherlands). Close the dialog, and launch ArcMap. Zoom to an AOI, and open the Download OSM Data (XAPI) tool. Select "Same as Display" as the Extent option. The error should appear.

Note, the Download OSM Data tool works ok; only the Download OSM Data (XAPI) tool has the issue.

Download 10.2 Toolbox not appearing on Install

The documentation indicates that after I install 10.2, the toolbox will appear in My Toolboxes, however its not showing up and not allowing me to add a new toolbox with the OSMEditor files I've downloaded.

Attempt to append data created with OSM tool results in missing/incorrect nodes

Steps to replicate:

  1. Create a dataset using the OSM Toolbox - e.g., create a geodatabase and populate it with features through the OSM Server Component

  2. Follow workflows for importing, per documentation at https://github.com/Esri/arcgis-osm-editor/wiki/Contribute-an-existing-dataset-to-osm

  3. At Append step, node IDs are getting mixed up. Consequence: errors such as the one below result when Upload not successful; when Upload is successful, nodes and polygons are placed in incorrect locations on the map.

"The remote server returned an error: (412) Precondition Failed.
Precondition failed: Way requires the nodes with id in (7308,7309,7310,7311), which either do not exist, or are not visible...."

10.2 dev - Upload OSM Data not uploading point, line, and polygon edits

In ArcGIS 10.2, I ran download, extract and symbolize to obtain OSM data for the palm springs area. I edited the data, creating a new point, line, and polygon. I used the Upload OSM Data tool to upload my edits - see http://api06.dev.openstreetmap.org/browse/changeset/23203. No data was uploaded to OSM - Replicated this behavior also with http://api06.dev.openstreetmap.org/browse/changeset/23219 and http://api06.dev.openstreetmap.org/browse/changeset/23220.

Upload OSM Tool reports +1 features uploaded than actual

When the Upload OSM Data tool is run, the log messages will report how many features are uploaded to the OSM endpoint. The message will report one more than the actual result; e.g., if you digitize ten points, the message will report eleven features uploaded. If for some reason no features are uploaded, the tool will report that one was.

Desired behavior: tool should report number of features uploaded accurately.

Error about fields calculated with Scripts

With the network dataset created by the Create OSM Network Dataset tool, ArcGIS 10.2 Runtime package complains about how some fields are calculated using scripts.

Workaround: change field calculations to another type of evaluator

System.OutOfMemory error with Load OSM File tool

When loading a 'large' OSM file - e.g., Japan, Africa, larger countries or European countries with a lot of data - this error happens during the Load OSM File process.

Tested on:
Windows 7 SP 1
ArcGIS Desktop 10.1 build 3035 (No Service Pack)
Version 2.1 from esriurl.com/osmeditor
Japan.OSM file from geofabrik

But also seen in other .osm files

Error 000816: The Tool is not Valid

Hello. I'm running ArcMap 10.2.1 and I'm having issues attempting to use any of the tools in the open street map tool box. When I go to download, extract, and symbolize OSM data ArcMap returns error 00816 and says the tool is not valid. Am I not installing something correctly or is there a way to validate the tool?

During Download, extra layers are added to Table of Contents

If you've checked the "Add results of geoprocessing functions to map" in the ArcMap Geoprocessing Options, then when you run the Download OSM Data; Download, Extract, and Symbolize OSM Data; or Load OSM File tools you will experience duplicate layers of your osm point, line, and polygon feature classes being added to your Table of Contents.

Wrong Units for Download Extent

I am trying to use Download OSM Data (XAPI), and I get the wrong units (not LatLng) when I select Same as Display for the Download Extent. The error asks if I am using WGS84 for my spatial reference, and I am.

alt text

WGS_1984_Web_Mercator_Auxiliary_Sphere
WKID: 3857 Authority: EPSG

Projection: Mercator_Auxiliary_Sphere
False_Easting: 0.0
False_Northing: 0.0
Central_Meridian: 0.0
Standard_Parallel_1: 0.0
Auxiliary_Sphere_Type: 0.0
Linear Unit: Meter (1.0)

Symbology in OSM

I ran the OSM tool but I noticed that the roads came in as just straight lines. Is there a way to make them look how they look in the OSM basemap?

Thanks!

Problem to create new network dataset based on oracle spatial geodatabase.

We've a geodatabase based on oracle spatial 11g, using SDO_GEOMETRY default.
after charged the OSM file to Oracle (with LOAD OSM FILE tool), we tryed to CREATE A NEW NETWORK DATASET. But, we got this error message:

___________________________ Begin__________________________________
Executing: OSMGPCreateNetworkDataset "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA" "C:\Program Files (x86)\ArcGIS\Desktop10.1\ArcToolbox\Toolboxes\ND_ConfigFiles\DriveGenericService.xml" "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA\SDE.OSM_POA_nd"
Start Time: Thu Jul 03 15:01:54 2014
Extracting Edge Features
Select_analysis
Executing: Select "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA\SDE.OSM_POA_osm_ln" "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA\SDE.OSM_POA_nd_roads" "(highway IS NOT NULL) AND (LOWER(highway) in ('service','motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','tertiary_link','living_street','residential','unclassified','road'))"
Start Time: Thu Jul 03 15:01:56 2014
Succeeded at Thu Jul 03 15:03:36 2014 (Elapsed Time: 1 minutes 40 seconds)
Extracting Junction Features
Select_analysis
Executing: Select "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA\SDE.OSM_POA_osm_pt" "Database Connections\Connection to cdsbi.sde\SDE.OSM_POA\SDE.OSM_POA_nd_barriers" "(barrier IS NOT NULL) AND (LOWER(barrier) in ('block','bollard','chain','debris','jersey_barrier','lift_gate','log','spikes','swing_gate'))"
Start Time: Thu Jul 03 15:03:37 2014
Succeeded at Thu Jul 03 15:03:46 2014 (Elapsed Time: 9,00 seconds)
Assigning Network Connectivity Groups
Extracting Turn Restrictions
The given coordinate references are incompatible
at ESRI.ArcGIS.Geodatabase.INetworkBuild.BuildNetwork(IEnvelope areaToBuild)
at ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.ExtractTurnRestrictions()
at ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTask(String messageName, Action task)
at ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateNetworkDataset()
at ESRI.ArcGIS.OSM.GeoProcessing.OSMGPCreateNetworkDataset.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPCreateNetworkDataset).
Failed at Thu Jul 03 15:06:37 2014 (Elapsed Time: 4 minutes 43 seconds)
________________________ END ________________________________________

Some idea to solve this issue?

Progress bar for Create OSM Network Dataset should more accurately reflect progress

To replicate:

  1. loaded an .osm file for England into a feature dataset, and 2) used Create OSM Network Dataset tool (DriveGeneric.xml) to create a network dataset. It completed without errors, but took quite a bit of time – and the progress bar was reading 100% for many hours.

Progress bar should more accurately reflect progress, and not indicate 100% if not near finished.

Polygon delete issues when editing

When deleting a polygon feature the OSM Feature Class Extension throws an exception during deletion of supporting nodes and aborts the delete action.

Document workflow limitation of editing same OSM dataset in two different ArcMap sessions

E.g.,;

  1. Open ArcMap
  2. Download data from OSM, call it something like "featureDataset1"
  3. Edit featureDataset1
  4. Open another instance of ArcMap without closing previous instance
  5. Add featureDataset1 to TOC and continue editing featureDataset1
  6. Go back to first ArcMap session and continue to edit featureDataset1

This will not work - upload to OSM may seem successful, but likely there will be issues with not all the data being uploaded.

Download OSM data won't work

When I try to download the data into a Personal GDB, it gives me an error "Unable to create a relation table the Microsoft JET Engine is unable to find "Test3_osm_revision." What does that mean? Test3 is my feature dataset. I'm using Arc 10.2

Export to OSM Tool leaves out node references for some ways

To reproduce:

  1. Load .osm file for specific geography (e.g., we found this affects Amsterdam, but not always other locations)
  2. Use Advanced Tool 'Export to OSM' to load GDB back to .osm file
  3. Note that for ways, node references may be blank.

Server Component - Javascript editor shows no attributes for features, or delete option

When consuming an ArcGIS Server feature service with the OSM Editor's Javascript editor, attributes for the features are not shown when you click on the feature in the UI. For example, if you click on a point feature in the UI, a popup box appears, but it is not populated with any attribute information, nor a delete button. This occurs with point, line, and polygon features and has been noticed in both 10.1 and 10.2 testing.

Note - it shows attributes for the Minimal template, so perhaps its an issue with the template mxd.

Upload Tool - Login Credentials parameter is not visible.

When loading data and trying to Upload, in ArcMap, the login credentials parameters are not visible or editable, and the tool will not run. They seem to appear fine in ArcCatalog. ArcGIS Desktop 10.2 and 64bit install of 10.2 OSM Editor tools.

image

New polygons do not seem to retain way/relation information upon uploading

Steps to replicate:
Download small area from OSM.
Edit - create a point, line, and polygon feature. Give the features attributes - e.g., name.
Use Upload to OSM tool to upload to OSM (or OSM dev API)
Download data from OSM for same extent. Note that polygon does not come across as polygon, but as series of points.

10.1 64 Bit on osmtest - Properties for OSMFeatureProperties.xml file can never be set

Steps to replicate:
Launch ArcMap with OSM Editor for 64 Bit Geoprocessing installed.

Click on Editor toolbar, and select Properties.

Go to OpenStreetMap tab.

The setting for OSMFeatureProperties.xml file (the last on the page) is not populated. When attempt to populate, click Apply, click OK, and then reopen, the file mapping is not persisted. Closing and reopening ArcMap doesn't make a difference.

failed to remove custom class extension

I have imported osm data to ArcMap Using OpenStreetMap toolbox. Osm data is loaded in sql server geodatabase. When i tried to publish map in Arc server, it showed warning that said " layer is being published with custom class extension". I tried to use "Remove OSM editor Extension" tool box , but it couldn't remove extensions. it said " lock request conflicts with an established lock". how can I remove osm custom class extensions?
any help is appreciated

OSM Feature Extension holds on to feature classes when working with data in ArcGIS

If you are working with OSM data created using OSM Toolbox in ArcGIS, the feature extension will use node ordering across datasets if more than one dataset is used in an ArcGIS session. For example: you append a dataset to an OSM dataset and attempt to upload. Then you append a different dataset to a different OSM dataset and attempt to upload. The node ids in the second session will be ordered as a continuation of the first session.

Workaround is to start each session with a new map and don't work with multiple OSM datasets within the same map.

Desired behavior is that the feature extension will treat each OSM dataset independently.

Installer for ArcGIS 10.3

In keeping with ArcGIS 10.3 (not yet released), the installer for the ArcGIS Editor for OSM should be updated such that it works on ArcGIS 10.3.x versions.

10.2 - General Function Failure when running OSM Attribute Selector

When I run the OSM attribute selector tool on a GDB created through the Load OSM File tool (originating .osm file downloaded from overpass xapi), I get warnings for a "General Function Failure" for various tag values (e.g., barrier, bicycle, tiger fields, etc...). This happens for point, line and polygon layers. I'm using the ALL parameter for which additional tags to extract.

Error when running Download, Extract, and Symbolize during first time in ArcMap

The following error occurs when running Download, Extract, and Symbolize when ArcMap is first opened after the OSMEditor Desktop application is installed.

Unable to locate the osm_domains.xml (domain configurations) file.

If the Download OSM Data tool is run first or ArcMap is closed and re-opened, the error will not occur when re-running the Download, Extract, and Symbolize tool.

Toolbox doesn't show up after installation

I'm running version 10.2.2 of ArcGIS desktop and the installation wizard runs successfully but the toolbox does not show up in the installation folder (C:/Program Files/ESRI/OSMEditor). The only files that appear are in a folder called 'bin', which I've attached in the attached image. I can "add" the toolbox through ArcMap, however it says there is a conflict error when it opens. I've installed the most recent version of the editor (10.2.x) so it shouldn't be a compatibility issue.

Does anybody know what the issue is? I can't figure it out for the life of me. Any help would me much appreciated :)

osm

Problem with Download OSM Data (XAPI) tool

Hello,
I've just upload mi ArcGIS in version 10.2.2 and my ArcGIS Editor for OSM for windows 7 64bits.

When I'm using this tool, I have this error :
"Messages
Exécution de : XAPIDownload http://api.openstreetmap.fr/xapi? "4.7 43.98 4.96 44.19" * [recycling=*] D:\SIG\recycling.osm
Heure de début : Thu Aug 14 16:36:57 2014
Exécution du script XAPIDownload...
4.7 43.98 4.96 44.19

Completed script XAPIDownload...
Échec de l0;Échec à Thu Aug 14 16:36:57 2014 (temps écoulé : 0.03 secondes)
Échec à Thu Aug 14 16:36:57 2014 (temps écoulé : 0.03 secondes)"

I had not this problem on the same pc with ArcGIS 10.0 and the problem come with an 32bits Windows pc too.

Can tou help me ?

Changesets made with ArcGIS often contain tagless nodes

Hi,

we regularly find changesets that contain a lot of untagged unconnected nodes. From the look of it, the nodes were intended as part of a way but the way itself isn't present.

We've noticed that from multiple AOE users, so this is not user-specific (I'm not an arcgis-osm-editor user, nor am I familiar with ArcGIS).

Latest example (in the process of being fixed) : http://www.openstreetmap.org/browse/changeset/17934567

Our usual reaction is to clean up the mess, and then contacting the contributor to suggest (s)he use JOSM or iD instead, which is a pity.

OpenStreetMap Toolbox errors

Most of my commands are unresponsive in the toolbox, particularly "Load OSM File." Checking Item Description states "The Item's XML contains errors." How to proceed? Just want to load an .osm into ARCgis.

problem with only_straight_on turn restriction

I've loaded up OSM for Oregon (from geofabrik.de) into an FGDB and am doing some routing in downtown Portland with Network Analyst (10.2). I'm getting some results that I wouldn't expect -- it's doing a U-turn on to a parallel segment of the same (divided) road, even though I have U-Turns at Junctions set to Not Allowed. I think that Network Analyst is not seeing them as U-turns because they are different segments, and I'll accept that. But these intersections are also tagged with restriction=only_straight_on. From what I can tell by looking at the nd_turns, it looks like some turns that are not being imported properly from the OSM data -- specifically those tagged only_straight_on. I took a look at the code but I'm not really a programmer so I can't tell what's going on. Can someone explain the logic in how OSM turns are imported into a network dataset?

hawthornebridge

westburnside

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.