Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Plot points on a Shapefile like this: and then convert it to HTML and display it on a browser?

Is this practical method to display the map on a browser?
Any cons of it?

Is there any other way of displaying a Shapefile on a browser?

share|improve this question
up vote 5 down vote accepted

take a look at: and

both use javscript for rendering the shapefile

share|improve this answer
thanks, but does it work "offline"? It loads the binary data using an *AJAX request* – TheIndependentAquarius Jul 16 '12 at 9:39
This does work Online and Offline in IE - blog post – Mapperz Jul 16 '12 at 13:14

checkout here which makes your point data to html with desired map provider.(in this trunk you can find more files for some purposes.)

Usage: worker.shp workers.html Yahoo

and here there is some information about it.

i hope it helps you...

share|improve this answer
Can that work "offline"? – TheIndependentAquarius Jul 16 '12 at 9:39
Yes. It creates offline html file but provider have to be online.... – Aragon Jul 16 '12 at 9:50
I mean to ask that will I be able to see the map when the internet is not working? – TheIndependentAquarius Jul 16 '12 at 10:07

You can convert your shapefile to GeoJSON and use tools like leaflet to Display it in an HTML page.

To convert a shapefile to GeoJSON you can use Quantum GIS (It's a great GIS tool). and also there is online convertion services: or

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.