0

I am new to the ArcGIS Runtime SDK. What we are trying to do is to convert information in a text file (contains country name and some information) to a map (visualize the information as a heat map for example). Do we have to convert the text file to a shapefile?

If yes, does the Runtime SDK provide API's for it or we have to go back to Engine SDK?

nmtoken
13.6k5 gold badges39 silver badges91 bronze badges
asked Oct 22, 2015 at 15:23

1 Answer 1

1

No you do not need to convert your text file to a shapefile. The ArcGIS Java Runtime SDK does not provide a tool to convert, although it does have an API to work with shapefiles. Does the text file have geometry info, e.g. coordinates? Essentially you can read the text file in Java then use the GraphicsLayer to add the graphic with geometry, symbol, attributes from the text file. If the text file is a CSV file you can use the ArcGIS Java API to work directly with it through CSVLayer. How you work with the text file will depend on the format of the file, e.g. geoJSON, etc.

answered Oct 23, 2015 at 19:24
1
  • Thanks a lot for your help, jdONeil. I did follow your suggestion and read the country information. And I did find a world map with a country property and polygons showing boundaries. The heat map can then be displayed based on the country information. However, the map is not a public one. Any one knows of a world map that can be freely accessible (with a country property and polygon boundaries)? Commented Feb 4, 2016 at 16:35

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.