You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2009-08-11 15:06:21

Hyder
Member
Registered: 2009-08-11
Posts: 2

Hosting map on my own server

I'm fairly new to GIS mapping and I'd like to host a mapping data of particularly Pakistan on my server. I've so far

- Downloaded basic OSM files of Pakistan (lines, polygons, simple_roads)
- Converted data to PostGIS
- Installed GeoServer to host the map

My questions are:

1. Is there a better / easier way to serve maps (hosted)?
2. Can I download the data directly from openstreetmap.org? I found the osm files from a third party site and they're pretty basic.
3. I'm currently looking at two flash-based clients to serve the maps (OpenZoom.org and OpenScales.org). Does anyone know a better client?

Offline

#2 2009-08-12 22:14:01

Alex McKee
Member
From: Gloucester, UK
Registered: 2008-01-17
Posts: 234

Re: Hosting map on my own server

Hello. smile

Hyder wrote:

1. Is there a better / easier way to serve maps (hosted)?

The way OSM does it is hosting the tiles directly on an instance of Apache. The tiles are stored in the TMS fashion, rather than WMS. They have a custom Apache module called mod_tile which takes care of rendering queues (it's a bit more complex than that but you get the gist).

Hyder wrote:

2. Can I download the data directly from openstreetmap.org? I found the osm files from a third party site and they're pretty basic.

Yes. There are planet files released on a regular basis (weekly). These are very large however. You can get extracts for many places and there are tools which work with OSM data and can produce extracts for your own specified polygon.

There are also hourly and minutely difference (diff) files released which can be applied against your database to keep the data fresh.

Hyder wrote:

3. I'm currently looking at two flash-based clients to serve the maps (OpenZoom.org and OpenScales.org). Does anyone know a better client?

Why Flash? You'll take a performance hit and the bandwidth usage will be atrocious (it will anyway, as mapserving is bandwith intensive but Flash files are typically pretty big and will cause more stress than is necessary).

OpenLayers is a JavaScript client in use on OSM.

I appreciate that you are/may be serving data as well as just map tiles however OpenLayers has vector drawing features which I expect will do what you want. Not sure exactly what features you'll need though.

Hope this helps.

Last edited by Alex McKee (2009-08-12 22:15:02)

Offline

Board footer

Powered by FluxBB