Re: [OSM-dev] Planet OSM not showing up in GeoServer 1.6.5

2009-12-29 Thread Quy phan

I forgot to mention, what I just found out is that
UDig was able to read in the Postgis data from my database and display the 
map...
But UDig is displaying it in Generic Catesion 2D and not in epsg 4326 or 900913

Probably a projection problem?
Or I am just not uploading the postgis data onto geoserver correctly

From: quyminhp...@hotmail.com
To: dev@openstreetmap.org
Date: Tue, 29 Dec 2009 11:53:55 -0800
Subject: [OSM-dev] Planet OSM not showing up in GeoServer 1.6.5








Hey guys,

Finished reading in the OSM planet data (planet-091209.osm.bz2)
But now I have a problem previewing the data in Geoserver (1.6.5)

This is what I did, went into Geoserver, add a new DataStore - chose Postgis 
- set everything to default,
only add in the database name and username/passwd

Now go to Feature Types, and I see 4 new feature types when I press new (lines, 
polygon, point, roads).
So I configure those new feature types, Using epsg: 900913 (would it matter if 
I put 4326) 
Also I generated the Bounding Box (the lat and longs) and I left everything 
else as default.
Add in some simple styles, but nothing previews at all when I 
demo them (Welcome - Demo Preview - choose any of the 4 planet_osm 
componenets).

Some ideas of what I got that might have made the map not preview:
- Bad dataset (planet-091209.osm.bz2) is not good?
- Re-read in the data using osm2pgsql
- change the epsg?
- Something I am missing while importing the postgis data onto Geoserver (I am 
relatively new)

Any pointers would help!

Another weird peoblem is when I double click on map some weird character 
encoding comes out
Something like that below:
�PNG

���
IHDR������|IDATx���1���0�
�DBE�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+�B�+

Any help would be much much appreciated!

Thank you,
Happy Holidays!!!
  
Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now.  
  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Mapnik Stylesheets

2009-12-23 Thread Quy phan

Hey guys!
Some styles would be great... espeically for the planet.osm stuff,
So if some users can share some of their styles for the planet.osm that would 
be awesome!

Thank you

Date: Tue, 22 Dec 2009 19:40:40 -0600
From: gos...@gmail.com
To: dev@openstreetmap.org
Subject: [OSM-dev] Mapnik Stylesheets

Are there other stylesheets available besides the osm.xml file that is included 
with Mapnik?  I would think some people would be willing to share their work if 
they went to all the trouble of defining a uniques style.  I've seen the style 
editor at cloudmade, but as far as I can tell it only works with their tile 
server.

Ideally I would like to serve up some NoName tiles and something similar to the 
Midnight Commander at cloudmade.  I managed to get Mapnik and mod_tile serving 
tiles on my own server, but seem to be limited to the standard style or 
re-inventing stylesheets that would fit my need.

Am I missing a resource for sharing stylesheets?
Thanks,
-Greg 
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-22 Thread Quy phan

Hey Peter, I got your Centos Binary, changemod it, got it to run,
but when i run it, i get an error:
$ ./osm2pgsql-r19130-centos5 
./osm2pgsql-r19130-centos5: error while loading shared libraries: 
libgeos-3.1.0.so: cannot open shared object file: No such file or directory

complaning about libgeos and cannot open the shared object file,
I tried doing yum install geos 
any good step by step instructions for centos out there on how to configure 
osm2pgsql to work
and it said I got the latest version, any help would be much appreciated, thank 
you!

 From: jburgess...@googlemail.com
 To: osm-li...@mazdermind.de
 Date: Thu, 17 Dec 2009 22:05:44 +
 CC: dev@openstreetmap.org
 Subject: Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : 
 changeset
 
 On Thu, 2009-12-17 at 11:44 +0100, Peter Körner wrote:
   Changesets are only included in planet.osm since a few weeks, right? As 
   the file linked in the wiki is from July, it will not help him.
  
  How is osm2pgsql compiled on windows? What Software do I need? Will VC++ 
  Express do it?
 
 The version I provided was cross-compiled from Fedora using the mingw32
 tools. The osm2pgsql code itself should be fairly simple to compile, you
 are more likely to run into difficulties getting the dependencies
 compiled or installed.
 
   Jon
 
 
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-17 Thread Quy phan

Hey guys, thanks for all the input, much much much appreciated!

Peter you are right; my osm2pgsql was out of date, it was not able to handle 
the changeset element.
Jon, thank you for the updated osm2pgsql, much appreciated!
I got the map to start reading; now the long long wait =)

Another quick question; any of you guys got the binary or source for osm2pgsql 
on linux systems(centos, redhat).
I got some some source files, but was unable to make it. I had some errors.
If anyone can show me to the source files or objects for osm2pgsql on linux 
systems, that would be awesome.
A guide on linux would be great too =)

Thank you,
Much appreciated help!!!

 Subject: Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : 
 changeset
 From: jburgess...@googlemail.com
 To: quyminhp...@hotmail.com
 CC: osm-li...@mazdermind.de; dev@openstreetmap.org
 Date: Wed, 16 Dec 2009 20:45:02 +
 
 On Wed, 2009-12-16 at 11:46 -0800, Quy phan wrote:
  Hmm interesting, thank you for your response,
  any way I can get the most-up-to-date osm2pgsql?
  I been trying to search the internet to find it... No luck.
  
  The windows binary version would be great.
  Looking for the udpated osm2pgsql
 
 As per http://wiki.openstreetmap.org/wiki/Osm2pgsql#Windows
 
 http://tile.openstreetmap.org/osm2pgsql.zip
 
   Jon
 
 
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-16 Thread Quy phan

Hey guys,

I really need some help, I been trying to debug this problem for days but still 
no luck,
I am sure there are people on this forum who have the knowledge to help out.

My setup: Window xp, P4, 3.0Gigs, 4 gigs of ram. Only 12 gigs of hard drive 
space available
- Is hard drive space a problem because the planet.osm is 120gigs when I 
unzipped it.
- I also turned off autovaccum for postgres, I am on postgres 8.3
- Postgis is on 1.3.6
- My osm2pgsql might be old, any links to the latest windows binary version?

Here is the problem:

When I did osm2pgsql --slim -C 1536 -d geoserver planet.osm
It sets up table correctly (no errors)
It fails when it tries to read in planet.osm
A series of StartElement: Unknown element name: changeset
EndElement: Unknown element name: changeset
StartElement: Unknown element name: changeset

EndElement: Unknown element name: changeset
StartElement: Unknown element name: changeset

EndElement: Unknown element name: changeset
and so on repeatedly forever pops out, then i Control C to cancel.

Note: Other OSM data such as, california.osm or asia.osm works, osm2pgsql is 
able to
read the data...  I believe the planet.osm is corrupted while 
unzipping/downloading?
Any suggestions or ideas?

Thank you!
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-16 Thread Quy phan

Hmm interesting, thank you for your response,
any way I can get the most-up-to-date osm2pgsql?
I been trying to search the internet to find it... No luck.

The windows binary version would be great.
Looking for the udpated osm2pgsql

 Date: Wed, 16 Dec 2009 20:36:55 +0100
 From: osm-li...@mazdermind.de
 To: quyminhp...@hotmail.com
 CC: dev@openstreetmap.org
 Subject: Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name :  
 changeset
 
  Note: Other OSM data such as, california.osm or asia.osm works, 
  osm2pgsql is able to
  read the data...  I believe the planet.osm is corrupted while 
  unzipping/downloading?
 
 I beleive your osm2pgsql is outdated. california.osm  co. does not 
 contain changeset ..-elements while the planet.osm does. It seems your 
 osm2pgsql is unable to handle this.
 
 Peter
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev