[prev in list] [next in list] [prev in thread] [next in thread]
List: mapserver-users
Subject: RE: [mapserver-users] Re: OSM renderer with MapServer
From: Kent Morrison <KMorrison () advantrack ! com>
Date: 2010-06-28 14:11:09
Message-ID: 4DCDDD4507E4E847920443D1B98C588D1E3D8CF7C2 () mail1 ! advantrack ! local
[Download RAW message or body]
Thanks for the quick feed back.
I've got the map file.. Out sys admin ran it through a preprocessor on a linux \
machien for me.
I thought the problem was/is probably a projection issue. I made the chaged all the \
"using srid=4326" to "using srid=900913" in all the DATA statements and changed all \
the PROJECTION statements from "init=epsg:4326" to "init=epsg:900913".
Every thing renders perfectly now!
If any windows user needs the map file I can email it to you.
Kent
-----Original Message-----
From: Rahkonen Jukka [mailto:Jukka.Rahkonen@mmmtike.fi]
Sent: Monday, June 28, 2010 8:40 AM
To: thomas bonfort; Kent Morrison
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Re: OSM renderer with MapServer \
(christopher.schmidt@nokia.com)
Hi,
The Windows version of osm2pgsql does not find automatically proj4 libraries which \
are needed for doing import with -l switch or with -E switch. For making these \
switches to work user should install proj4 in some way and set an environment \
variable to point to that location. Too tricky, so I would suggest Windows users to \
import with the default projection 900913. The data can be rather fast reprojected \
afterwards inside PostGIS, if needed.
Windows is also lacking the preprocessor that is needed to build up the final mapfile \
if user is following the cookbook by Thomas. Perhaps there could be also a ready \
compiled mapfile available for Windows users for a quicker start?
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces@lists.osgeo.org puolesta: thomas bonfort
Lähetetty: ma 28.6.2010 16:24
Vastaanottaja: Kent Morrison
Kopio: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Re: OSM renderer with MapServer \
(christopher.schmidt@nokia.com)
The document needs to be updated. You should either update the mapfiles and change \
"using srid=4326" to "using srid=900913", or reimport the osm data in lonlat format \
(osm2pgsql -l switch). regards,
thomas
On Mon, Jun 28, 2010 at 15:18, Kent Morrison <KMorrison@advantrack.com> wrote:
>
>
>
>
>
>
> I tried to get OSM running on MapServer using the instructions linked below and was \
> only partially successful. It would render the coastlines but nothing else and \
> there was no error messages in the debug file.
> Kent
>
>
>
>
>
>
> Message: 3
> Date: Fri, 25 Jun 2010 20:25:19 +0200
> From: "christopher.schmidt@nokia.com" <christopher.schmidt@nokia.com>
> Subject: Re: [mapserver-users] OSM renderer with MapServer
> To: <bfischer@houstoneng.com>
> Cc: mapserver-users@lists.osgeo.org
> Message-ID: <058B56D2-801E-4CDF-AF06-506432DFDD66@nokia.com>
> Content-Type: text/plain; charset="Windows-1252"
>
>
> On Jun 25, 2010, at 1:52 PM, ext Brian Fischer wrote:
>
> > Is there anyone working on a MapServer mapfile(s) to renderer OpenStreetMap data \
> > in the U.S.? I?m interested in creating a mapfile that displays nice \
> > cartographic map for the roads and uses highway shields for the labels. \
> > Ultimately turning this into a TMS using tilecache. Or would people recommend \
> > sticking with Mapnik?s stylesheets to render the data into images? I did a few \
> > searches and only came across this. \
> > http://code.google.com/p/mapserver-utils/source/browse/trunk I?m new to OSM data \
> > so just starting to explore options.
>
> http://trac.osgeo.org/mapserver/wiki/RenderingOsmData leads to that location as \
> well; This is the mapfile that is used for the map on the homepage:
> http://mapserver.org/
>
> So it's probably a safe starting point.
>
> Regards,
> --
> Christopher Schmidt
> Nokia
>
>
>
> ------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> End of mapserver-users Digest, Vol 29, Issue 43
> ***********************************************
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic