Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Comments
William Winner 1-Jul-10 12:33pm    
Reason for my vote of 1
not a quick answer.
Smithers-Jones 1-Jul-10 13:33pm    
Reason for my vote of 1
No effort shown at all, only "I want".

1 solution

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.
 
Share this answer
 
Comments
jasonHall 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900