Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
I want to build a simple gis desktop application about art shop in Bali.. i want to make the gis application like google earth, so when user click the place of the shop, it will appear information about the shop like name, address, and phone number. but i don't understand how to connect the map with the database, so that the information of the shop can appear if the place of the shop was clicked.. thank you for anwswer my question
Posted 30-Jun-10 22:49pm
ronde301
Comments
William Winner at 1-Jul-10 12:33pm
   
Reason for my vote of 1
not a quick answer.
Smithers-Jones at 1-Jul-10 13:33pm
   
Reason for my vote of 1
No effort shown at all, only "I want".

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

My guess is that this is going to be way beyond your skills.
 
A GIS is an extremely complex system to build. If you have the map already built, then you would just have to get the coordinates under the mouse and then compare those coordinates with the coordinates in the database.
 
If the database contains points, then you'll want to include a buffer around the points because the chances of the person clicking exactly on the point is pretty slim. If it's a polygon, then you just need to check if the user clicked inside the polygon. But if it's a complex polygon, determining that can be quite difficult.
 
My suggestion is to simply create a KML and load that into Google Earth or create a Google Map online instead of trying to build a GIS.
 
But if you really want to build your own GIS application, then look into getting a subscription to the ESRI developer's network which will provide you with API's already written for the top GIS program out there. Then, you'd just have to purchase an ArcEngine license for any machine running your application.
  Permalink  
Comments
jasonHall at 6-Jul-10 16:09pm
   
Reason for my vote of 3
*Updated

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 550
1 Sergey Alexandrovich Kryukov 420
2 George Jonsson 288
3 Pheonyx 218
4 OriginalGriff 200
0 OriginalGriff 4,813
1 CPallini 3,850
2 Sergey Alexandrovich Kryukov 3,224
3 George Jonsson 2,552
4 Gihan Liyanage 2,186


Advertise | Privacy | Mobile
Web03 | 2.8.140905.1 | Last Updated 1 Jul 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100