Re: [OSM-dev] Issue with spatial query (PostGIS, ST_DWithin, SRID, transform)

2009-07-23 Thread Emilie Laffray
Hello, In short, ST_DWITHIN always works in the units of your SRID. In the case of 4326, it will be in degrees decimal. You can get something in meters by transforming into the proper UTM zone for your area but the performance is dreadful (There is a function on Postgis Wiki to find the proper UTM

Re: [OSM-dev] MySQL GIS extensions - some tipps

2009-07-23 Thread Andreas Kalsch
Marcus Wolschon schrieb: > On Wed, Jul 22, 2009 at 4:25 PM, Andreas Kalsch wrote: > >> I don't render maps with it, so I don't know how it scales. But Mapnik >> will connect easier to Postgres/PostGIS. I will outsource rendering for >> my project. >> > > Note: I don`t use Mapnik. I was talk

[OSM-dev] Issue with spatial query (PostGIS, ST_DWithin, SRID, transform)

2009-07-23 Thread Mulone
Hello, I'm running some queries on a PostGIS db containing OSM data loaded with osm2pgsql. I want to get the geometries within a certain distance from a point. I've written this query: SELECT osm_id FROM planet_osm_point WHERE ST_DWithin(way,geomfromtext('POINT(53.30124 -6.21804 0)', 4326), 100);

Re: [OSM-dev] Compile Errors with josm/core

2009-07-23 Thread Joerg Ostertag
On Thursday 23 July 2009, Frederik Ramm wrote: > Hi, > > Joerg Ostertag wrote: > > Can anyone give me a hint if I have missing dependencies or where I > > should have a look at for solving this Problem. > > These are just warnings...? > > Bye > Frederik Ups the pasting was too short ... ini

[OSM-dev] Osmosis shutting down while processing osm-file

2009-07-23 Thread IbrahimB22
Hi, I'm trying to load an osm file of belgium that I got off cloudmade.com into a postgresql database with postgis. I used the 0.6 script and added the linestring column to the ways-table in the postgresql database. The command I'm running is: osmosis --read-xml file="belgium.osm" --write-pgsql

Re: [OSM-dev] Mediawiki API

2009-07-23 Thread Andreas Kalsch
Tobias Knerr schrieb: > Andreas Kalsch wrote: > >> What about installing the Mediawiki API for the OpenStreetMap wiki? >> > > This one? > > http://wiki.openstreetmap.org/api.php > Thanks ;) Thought you use the standard endpoint "path/w/api.php" _

Re: [OSM-dev] Mediawiki API

2009-07-23 Thread Tobias Knerr
Andreas Kalsch wrote: > What about installing the Mediawiki API for the OpenStreetMap wiki? This one? http://wiki.openstreetmap.org/api.php ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Changeset close: API returned status code 411 (Length Required)

2009-07-23 Thread Eddy Petrișor
Vincent MEURISSE a scris: > On Thursday 23 July 2009 04:43:57 pm Eddy Petrișor wrote: >> Hello, >> I got at the end of the import, during the changeset close >> operation the error code 411 - Length Required. >> >> So it seems the API returned this code as and answer to this: >> 'PUT /api/0.6/chang

[OSM-dev] Some hacks for wikipedia

2009-07-23 Thread James Mike DuPont
Hi all, Here are some hacks I made for wikipedia, kml2osm and all. It could be better, and dont worry about those 10 points I added. http://www.openstreetmap.org/user/h4ck3rm1k3/diary/7188 So, I found out yesterday that I dont need to parse the whole wikipedia to get the points. http://www.webku

Re: [OSM-dev] Changeset close: API returned status code 411 (Length Required)

2009-07-23 Thread Vincent MEURISSE
On Thursday 23 July 2009 04:43:57 pm Eddy Petrișor wrote: > Hello, > I got at the end of the import, during the changeset close > operation the error code 411 - Length Required. > > So it seems the API returned this code as and answer to this: > 'PUT /api/0.6/changeset/.../close' > > What does this

[OSM-dev] Changeset close: API returned status code 411 (Length Required)

2009-07-23 Thread Eddy Petrișor
Hello, Today, while importing some data[1] with places in the Bacău county in Romania, I got at the end of the import, during the changeset close operation the error code 411 - Length Required. The stack looked like this: Traceback (most recent call last): File "./OsmLocImport.py", line 372, i

Re: [OSM-dev] multipolygons - dealing with topology errors

2009-07-23 Thread Jochen Topf
On Thu, Jul 23, 2009 at 09:39:05AM +0200, Tels wrote: > With Temap, I found it is much better to draw such things in bright red, > that way they get fixed much much faster than when you just drop them - > out of the sight, out of the mind :) Thats why we have tools like http://tools.geofabrik.de

Re: [OSM-dev] Osmosis Error on postgis import of planet file in org.PGgeometry.getValue

2009-07-23 Thread Torge Szczepanek
Hi! > I haven't seen this particular error before. My suspicion is that it's > caused by ways referring to non-existent nodes. I thought the code was > capable of dealing with that scenario, but it looks like that isn't the > case. Ok, thanks. > I don't have time to look into this at the momen

Re: [OSM-dev] multipolygons - dealing with topology errors

2009-07-23 Thread Tels
On Tuesday 21 July 2009 09:59:29 Jochen Topf wrote: > On Mon, Jul 20, 2009 at 10:36:21PM -0400, Ben Supnik wrote: > > Two things about multipolygons: > > > > 1. My software now detects topologically broken multipolygons, e.g. > > cases where I can't form rings out of the node list. Is this > > use

Re: [OSM-dev] Compile Errors with josm/core

2009-07-23 Thread Frederik Ramm
Hi, Joerg Ostertag wrote: > Can anyone give me a hint if I have missing dependencies or where I should > have a look at for solving this Problem. These are just warnings...? Bye Frederik ___ dev mailing list dev@openstreetmap.org http://lists.openstr