Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a XML file that would like to use as a base layer in ArcGIS 10. What are the steps that I need to follow in order to open that file in ArcGIS 10?

The XML file does not have coordinates. When it's open it shows the following:

enter image description here

share|improve this question
    
Is the .xml containing coordinates? –  Mapperz Jan 4 '12 at 20:07
add comment

4 Answers

That XML isn't anything but "metadata". You need to track down "images/WA_Dayton_20110406_TM_geo_img_0.jpg"

share|improve this answer
add comment

The only useful data in the screenshot you added of the XML contents is the path to a .jpg file. Why don't you just locate that and bring it into ArcGIS? ArcGIS won't be able to understand the XML file directly.

You'll have to georeference it manually if it doesn't have an accompanying "world" file (.jgw, typically).

Side note: XML is just a markup language, and XML files are just text files. They can contain practically anything. It's up to the consumer of the file to be able to make sense of its contents, and ArcGIS has no idea what this flavor of XML is or what to do with its contents.

share|improve this answer
add comment

Edit: The saveasxml plugin that apparently was used to create the xml is just a plain 'ol xml writer.
It does not create mapping data that can be imported into esri.

So to expand on the original document and where you might go to accomplish what you need.
It does appear that the pdf had some map information in it (as a linked image perhaps)
One method that could be used (one method I use).
Would be to (purchase) terrago "publisher" and use the view pdf command to insert the pdf into arcmap.
However "unless" the software being used to create the original pdf creates a geopdf, you would still need to manually georeference your pdf (with terrago tools).

There are ways to create geopdf without terrago.
question from gis.stackexchange
and opengeo for ogc geopdf best practice specifications
you should also be aware that there are pdf files with vector, raster, and both which can be converted.
See this question on gis.stackexchange
HTH understanding and clarifies what you want to accomplish. You might rework (edit) your question to get to the next level.

Old answer - doesn't seem to apply anymore with no comment I will remove If the xml is a workspace document created by esri you would need to import it into a geodatabase of some variety (file, personal, sde).
It is mearly pointing to the database you want the data in.
right click at the db level (not the feature class or feature dataset level)
and select import...

xmlimport

Note: you have the option of just the schema or schema and data.

xmldoc

share|improve this answer
add comment

What does the XML file contain? X/Y points?

If the file only contains points you could simply convert the XML file to Excel format and then import the Excel file as such:

Tools -> Add XY data -> open the excel file -> define the x and the y fields -> output the final point features

If the file is more complicated than X/Y points could you post a sample so that we can see the elements and better inform you?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.