Re: [OSM-dev] OSM formats optimised for client-side vector rendering?

2011-02-17 Thread Jeffrey Warren
yes, for the record, in Cartagen the limitation was that JavaScript cannot read XML, so my fork of the Rails port generates JSON instead ( https://github.com/jywarren/openstreetmap-website). But there is a parsing step where the node, way, and relation IDs are used to reference them all together

[OSM-dev] tms translator

2010-08-21 Thread Jeffrey Warren
Hello all - At OpenMapsCaucasus/JumpStart and in other places I've had trouble reconciling the standard OSGeo implementation (origin at bottom-left) of TMS which gdal2tiles.py generates, and the OSM convention (origin at top-left). There may be a simpler way to do this, but for on-the-fly

Re: [OSM-dev] Cartagen Knitter TMS, GeoTiff, can be used with JOSM

2010-08-09 Thread Jeffrey Warren
-attempt. Jeff On Mon, Aug 9, 2010 at 7:41 PM, andrzej zaborowski balr...@gmail.comwrote: On 4 August 2010 15:14, Jeffrey Warren war...@mit.edu wrote: Therefore you can now use aerial images from balloons or kites (or whatever! slingshots!) to stitch a map, then export it for printing or import

[OSM-dev] Cartagen Knitter TMS, GeoTiff, can be used with JOSM

2010-08-04 Thread Jeffrey Warren
Hi all - I added a range of new publication options to the Cartagen Knitter software (http://cartagen.org/maps) yesterday, amongst them: - Output as high-resolution JPG and GeoTIFF - Output as TMS tile service for use in OpenLayers, etc. Therefore you can now use aerial images from balloons or

[OSM-dev] OSM diagram usage

2010-06-10 Thread Jeffrey Warren
Hi all - i'm writing about OSM and was wondering if I could use the diagram at: http://wiki.openstreetmap.org/wiki/File:OSM_Components.png It's not marked as CC or anything. Would whoever owns it mind releasing it or giving permission? Thanks much! Jeff

Re: [OSM-dev] Edit in JOSM link

2010-03-08 Thread Jeffrey Warren
It'd be very cool to have JOSM register a custom URL scheme as in: http://burnttoys.blogspot.com/2008/07/adding-url-scheme-to-qt-application.html however this would only work if you had JOSM installed; and if you didn't it might leave the user with a broken link. But this would be cool:

Re: [OSM-dev] I converted the rails port to Git

2010-02-21 Thread Jeffrey Warren
I just did a svn/googlecode to git/github import for Cartagen: github.com/jywarren/cartagen/ and ran this perl script to import issues. It worked pretty well, could be adapted to trac: http://gist.github.com/101002 jeff On Sun, Feb 21, 2010 at 8:35 PM, Chris Browet c...@semperpax.com wrote:

Re: [OSM-dev] Noobie Question - Custom Map

2009-12-04 Thread Jeffrey Warren
You could take a look at wiki.cartagen.org or perhaps CloudMade's Style Editor. Jeff On Fri, Dec 4, 2009 at 7:30 AM, Ben Marchbanks b...@magazooms.com wrote: Are there any opportunities to control the style of vectors on the maps ? For example I export a large map as PDF but the street

[OSM-dev] Quantifying

2009-10-01 Thread Jeffrey Warren
Hi all - I tried to do a rough analysis (for an article I'm writing) of the composition of an API response by character count. If anyone knows more about this or has opinions or ideas for better (but lightweight) means of quantifying this, i'd love to hear them. I’ve been wondering how much of

Re: [OSM-dev] Osmosis and Postgresql

2009-07-07 Thread Jeffrey Warren
that the rails port doesn't really care if they're there, or if the constraint is created. Jeff On Tue, Jul 7, 2009 at 3:24 PM, Shaun McDonald sh...@shaunmcdonald.me.ukwrote: On 7 Jul 2009, at 18:47, Joachim Zobel wrote: Am Mittwoch, den 01.07.2009, 09:47 +1000 schrieb Brett Henderson: Jeffrey

Re: [OSM-dev] Osmosis and Postgresql

2009-07-03 Thread Jeffrey Warren
Hmm, I'm not sure I'm equipped to do that. On Tue, Jun 30, 2009 at 7:47 PM, Brett Henderson br...@bretth.com wrote: I don't mind really. I only make them available as a convenience so people don't need to run the rails migrations themselves. I don't want to put much effort into maintaining

Re: [OSM-dev] Osmosis and Postgresql

2009-06-30 Thread Jeffrey Warren
to be a description of the main API DB schema, but it is labelled as out of date, so maybe this would be a good place for your description to be stored? Regards Graham. 2009/6/22 Jeffrey Warren war...@mit.edu Hi, I'm compiling a very long description of a Postgres/Rails port schema

Re: [OSM-dev] Osmosis and Postgresql

2009-06-30 Thread Jeffrey Warren
/6/30 Jeffrey Warren war...@mit.edu I'd like to, but how does the schema you want differ from the schemas Brett Henderson hosts? And along those lines, should we remove the foreign key constraints from the schema, Brett, if they're not necessary and they cause Osmosis imports to fail? Jeff

Re: [OSM-dev] Osmosis and Postgresql

2009-06-23 Thread Jeffrey Warren
I dropped it as well; there are many instances of data in the planet dump which do not meet the constraint; do you know what part of the codebase does in fact rely upon the constraints? Jeff On Tue, Jun 23, 2009 at 9:09 AM, Brett Henderson br...@bretth.com wrote: Jeffrey Warren wrote: Hi

Re: [OSM-dev] Osmosis error, duplicate

2009-06-05 Thread Jeffrey Warren
Zobel jzo...@heute-morgen.dewrote: Am Dienstag, den 02.06.2009, 11:52 -0700 schrieb Jeffrey Warren: I was importing a planet dump to pgsql with the --write-apidb-0.6 and got the error: ERROR: insert or update on table current_way_nodes violates foreign key constraint

Re: [OSM-dev] Osmosis error, duplicate

2009-06-05 Thread Jeffrey Warren
-morgen.dewrote: Am Freitag, den 05.06.2009, 12:40 -0400 schrieb Jeffrey Warren: and it's been running the following query for about 24 hours: SELECT Count(*) AS changesetCount FROM changesets WHERE id=$1 Take a look on Brets pgsql-latest.sql script (after the COPYs) and add the index

Re: [OSM-dev] Osmosis error, duplicate

2009-06-05 Thread Jeffrey Warren
, 2009 at 3:39 PM, Joachim Zobel jz-2...@heute-morgen.dewrote: Am Freitag, den 05.06.2009, 14:58 -0400 schrieb Jeffrey Warren: Detail: Key (node_id)=(395051992) is not present in table current_nodes. The field that is present is actually named node_id and that is the one that is mentioned

[OSM-dev] gweb.bretth.com

2009-06-03 Thread Jeffrey Warren
http://gweb.bretth.com/apidb06-pgsql-latest.sql is returning: The bandwidth or page view limit for this site has been exceeded and the page cannot be viewed at this time. Once the site is below the limit, it will once again begin serving as normal. Does anyone have a copy of the latest schema

[OSM-dev] Osmosis error, duplicate

2009-06-02 Thread Jeffrey Warren
I was importing a planet dump to pgsql with the --write-apidb-0.6 and got the error: ERROR: insert or update on table current_way_nodes violates foreign key constraint current_way_nodes_node_id_fkey Detail: Key (node_id)=(395051992) is not present in table current_nodes. Why would that cause

Re: [OSM-dev] type four_byte_unsigned does not exist

2009-05-28 Thread Jeffrey Warren
at 12:19 AM, Jeffrey Warren war...@mit.edu wrote: It's just a big slice of Rome, so i doubt the data is the problem. I got a lot of errors, most were because i couldn't get libpgosm.so to compile for OSX Leopard, (maptile_for_point() does not exist, etc), but there were a lot more too

Re: [OSM-dev] type four_byte_unsigned does not exist

2009-05-26 Thread Jeffrey Warren
I noticed that during db:migrate it doesn't pick up the /lib/migrate.rb type definitions... so I just changed it to :integer, :limit = 8, which is how four_byte_unsigned is defined in migrate.rb. I'm also setting up the rails port and am having trouble so if you want to compare notes I'd love to.

Re: [OSM-dev] type four_byte_unsigned does not exist

2009-05-26 Thread Jeffrey Warren
its way into the trunk code whereas mine's just a hack. Jeff On Tue, May 26, 2009 at 2:08 PM, Dan Karran d...@karran.net wrote: Hi Jeff, 2009/5/26 Jeffrey Warren war...@mit.edu: I noticed that during db:migrate it doesn't pick up the /lib/migrate.rb type definitions... so I just changed

Re: [OSM-dev] type four_byte_unsigned does not exist

2009-05-26 Thread Jeffrey Warren
OK I managed to get it booted, but I encountered this error in rails: NoMethodError in ApiController#map You have a nil object when you didn't expect it! The error occurred while evaluating nil.visible? RAILS_ROOT: /Users/eco/Sites/openstreetmap Application

Re: [OSM-dev] type four_byte_unsigned does not exist

2009-05-26 Thread Jeffrey Warren
in the data that would cause this problem? Shaun On 26 May 2009, at 23:40, Jeffrey Warren wrote: OK I managed to get it booted, but I encountered this error in rails: NoMethodError in ApiController#map You have a nil object when you didn't expect

[OSM-dev] JSON/GeoJSON output format for 0.6 api

2009-05-26 Thread Jeffrey Warren
I'm adding GeoJSON and also structured OSM JSON output formats to a rails port 0.6 API I'm running; are these changes I could potentially commit, so such formats could be offered by OSM proper, or are they too specific a need? I'll be posting the changes online regardless. The osm JSON will be an

Re: [OSM-dev] API 0.6 returns 403 forbidden

2009-05-14 Thread Jeffrey Warren
Yes, thank you. I had looked for an API policy and had not found one... I'm looking for bulk data but in fact live bulk data... working on a live javascript editor/renderer. I have a planet dump but had avoided working on it since the idea is to use data as it comes in. Is there a solution for

Re: [OSM-dev] API 0.6 returns 403 forbidden

2009-05-14 Thread Jeffrey Warren
? Jeff On Thu, May 14, 2009 at 12:35 PM, Tels nospam-ab...@bloodgate.com wrote: Moin, On Thursday 14 May 2009 09:31:56 Tom Hughes wrote: Jeffrey Warren wrote: Hi, I suddenly started getting 403 - Forbidden from my any machine. I also get a 403 when i simply go to www.openstreetmap.org

[OSM-dev] API 0.6 returns 403 forbidden

2009-05-13 Thread Jeffrey Warren
Hi, I suddenly started getting 403 - Forbidden from my any machine. I also get a 403 when i simply go to www.openstreetmap.org in a browser (just discovered this...). Have I been blacklisted or is this an outage? Concerned, Jeff ___ dev mailing list

Re: [OSM-dev] API 0.6 returns 403 forbidden

2009-05-13 Thread Jeffrey Warren
This is only true from my server, correction... typo on the other machine. Late night. But my server definitely gets 403 for any openstreetmap.orgresource... On Wed, May 13, 2009 at 10:20 PM, Jeffrey Warren war...@mit.edu wrote: Hi, I suddenly started getting 403 - Forbidden from my any machine

Re: [OSM-dev] API 0.6 returns 403 forbidden

2009-05-13 Thread Jeffrey Warren
Yeah, my local machine gets 200 fine... i guess i was more asking if there's some kind of ban policy or whether i should be checking my own network... thanks, jeff On Wed, May 13, 2009 at 10:36 PM, Michael Bemmerl osm-t...@mx-server.dewrote: Jeffrey Warren schrieb: This is only true from my

Re: [OSM-dev] Cartagen - client-side vector based map renderer, dynamic maps

2009-05-08 Thread Jeffrey Warren
* The proxy receives XML from the api or xapi server. Currently it requests the full dataset. * Then it removes unnec. tags (like note, fixme, attribution and a whole bunch of others that are not needed for rendering). Some of them are very minor, but 1 nodes with attribution=veryvery

Re: [OSM-dev] Cartagen - client-side vector based map renderer, dynamic maps

2009-05-08 Thread Jeffrey Warren
Great, this is a good discussion. I've put up a wiki page with some of the things we've covered, with pros/cons. I hope we can continue to talk about our approaches and as we optimize for different problems post some of it back up here: http://code.google.com/p/cartagen/wiki/FeatureTradeoff I put

Re: [OSM-dev] Cartagen - client-side vector based map renderer, dynamic maps

2009-05-06 Thread Jeffrey Warren
Hi, Tels - It's not been optimized yet, so loading is a little slow, but I'm optimistic that it will scale. Based on my experience, I can tell you right away it won't scale :) Not to discourage you, but: * the amount of data is really huge. Throwing a few dozend megabyte XML or even

Re: [OSM-dev] xapi status?

2009-05-02 Thread Jeffrey Warren
stalled after downloading 5.2Kb. Not sure why yet, I'll investigate futher. 80n On Sat, May 2, 2009 at 3:50 PM, Jeffrey Warren war...@mit.edu wrote: Hmm, I'm now getting a blank response after consistently 26.4 seconds. Is that a timeout? I'm only asking for buildings=yes in an area where I

[OSM-dev] xapi status?

2009-04-30 Thread Jeffrey Warren
Hello all - I'm trying to ping the xapi.openstreetmap.org service for: http://xapi.openstreetmap.org/api/0.5/*[amenity=hotel][bbox=-71.089,42.359,-71.087,42.361] or perhaps less ambitious: http://xapi.openstreetmap.org/api/0.5/*[building=yes][bbox=-71.089,42.359,-71.087,42.361] I'm not getting