Click here to Skip to main content
12,945,927 members (49,994 online)
Rate this:
Please Sign up or sign in to vote.
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 30-Jun-10 22:49pm
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

Rate this: bad
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.
jasonHall 6-Jul-10 16:09pm
Reason for my vote of 3

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,899
CHill60 3,180
Maciej Los 2,453
Jochen Arndt 1,910
ppolymorphe 1,785

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 1 Jul 2010
Copyright © CodeProject, 1999-2017
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