[OSM-dev] osm2pgsql installs default.style to /usr/share/osm2pgsql but searches in /usr/share

Parveen Arora mail at parveenarora.in
Sun Jun 26 15:30:03 BST 2011


On Thu, Jun 23, 2011 at 9:15 PM, Manuel Reimer
<Manuel.Spam at nurfuerspam.de> wrote:
> Hello,
>
> I have the following problem:
>
>
> $ ls -l /usr/share/osm2pgsql/
> -rw-r--r-- 1 root root  726 2011-06-23 17:23 900913.sql
> -rw-r--r-- 1 root root 5179 2011-06-23 17:23 default.style
>
> $ osm2pgsql -U gisuser /tmp/map.osm
> osm2pgsql SVN version 0.70.5
>
> Using projection SRS 900913 (Spherical Mercator)
> Couldn't open style file '/usr/share/default.style': No such file or
> directory
> Error occurred, cleaning up
>
>
>
> Someone here who could fix this?
I have always used osm2pgsql by compiling the source, and I don't
remember I have faced any problem like that till now, But in case If I
had may be i had placed the file to its correct location to get it
worked.

Version we install through apt-get install osm2pgsql is old than the
source available to compilation If I am not wrong.

I don't know if its latest version is available through debian package.




-- 
Parveen Arora
www.parveenarora.in
E-Mail: mail at parveenarora.in



More information about the dev mailing list