How to display Shape file

1769
7
Jump to solution
05-10-2017 01:39 AM
HITENDRAUPADHYAY
New Contributor

Hi,

I am a new user here and I was going thru all the example codes available.

I am looking for a sample code to start with.

I want to display a Sample map basically a shape file available in .shp , .shx and .dbf format, in my application and with basic zooming and panning function.

Any sample piece of code or a link would be highly appreciable.

thanks

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

What version are you using? Like Dan linked to, you can display a shapefile with 10.2.x via Local Server. Our new release does not yet have support for shapefiles but will shortly.

View solution in original post

0 Kudos
7 Replies
JayantaPoddar
MVP Esteemed Contributor

Are you looking to use ArcGIS JavaScript API 3.x?

Check Add Shapefile: ArcGIS JS API Sample Code

Also check the best practices and limitations of adding shapefiles in ArcGIS Online. Shapefiles: ArcGIS Online Help



Think Location
HITENDRAUPADHYAY
New Contributor

Hi Jayanta,

Thanks for a prompt reply.

My application requirement is displaying a shape file in my Qt application and I am on RHEL 6.5.

I would highly appreciate if you can share a sample code/link or reference.

Thanks and regards,

0 Kudos
HITENDRAUPADHYAY
New Contributor

Hi,

I got a sample code in the SDK for displaying a shape file.

But I really wonder if there is any Help documentation available for SDK??

thanks

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor
0 Kudos
AkanéLevy
New Contributor

Hi, 

I have the same problem as yours, and I would like to know which SDK sample you are talking about. Furthermore, if by now you found the solution could you please share ? Thanks

0 Kudos
ChrisCatania
Community Team

Hi Hintendra - Thanks for asking your questions and welcome to the GeoNet community! I wanted to let you know that since you're looking or SDK and Qt answers, we're moving your question from the GeoNet Help group to the https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-qt?sr=s... space so our Esri and user subject matter experts can further help answer this and future questions.  So you're aware on how and where to post your questions, here's a few quick tips and reminders:

  1. First, use the GeoNet search (top right corner by your profile icon) to search and see if your question has already by asked/answered previously.
  2. If not, than we suggest reviewing the GeoNet Community Structure, to find the most relevant space to post your question. 
  3. The GeoNet GeoNet Help group is for questions and tips on how to use the GeoNet community platform not the Esri ArcGIS platform. Following steps 1 & 2 above will give you the best results for getting Esri product questions answered.
  4. This GeoNet 101 "How to Ask Questions on GeoNet" post is also a helpful guide to asking questions: https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-t...

 

Thanks again for contributing and I hope this helps and let us know if you have any questions.

 

Esri Community Strategist
0 Kudos
LucasDanzinger
Esri Frequent Contributor

What version are you using? Like Dan linked to, you can display a shapefile with 10.2.x via Local Server. Our new release does not yet have support for shapefiles but will shortly.

View solution in original post

0 Kudos