Re: [OSM-dev] start of gwtosm the google webtoolkit port of josm
Ok I installed it : http://xhema.flossk.org:8180/GWTOSM/ You put the url to load in the name field, and you can pan with the bbox fields , the last one is the zoom factor (so a bigger number is farther away). right now the bbox and the uri are not connected. code here, http://github.com/h4ck3rm1k3/GWTOsm patches welcome. mike On Tue, Jun 1, 2010 at 12:13 PM, jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com wrote: it is not running yet on a public server. could deploy it on appspot. need to look into the details, right now running it in eclipse. will look into that some time. mike On Tue, Jun 1, 2010 at 12:06 PM, Peter Körner osm-li...@mazdermind.de wrote: jamesmikedup...@googlemail.com schrieb: OK, I have not been able to get the client side connection running, so I moved the http request to the java server side and not the client requests the uri via rpc and gets the data. now the program works, it can fetch an osm url and render it, the bbox is not calculated right yet, but that will be next. Can we see it running somewhere? Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Problem in rake db:migrate with postgre
== AddRelations: migrating === -- create_enumeration(:nwr_enum, [Node, way, Relation]) rake aborted! An error has occurred, this and all later migrations canceled: PGError: ERROR: syntax error at or near enum LINE 1: create type nwr_enum as enum ('Node', 'Way', 'Relation') ^ : create type nwr_enum as enum ('Node', 'Way', 'Relation') -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem in rake db:migrate with postgre
According to http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL: PostgreSQL doesn't have the ENUM types prior to 8.3 I think it would be easiest to upgrade your version of postgres. Cheers, Andy On Thu, Jun 3, 2010 at 12:54 PM, M Naveed Akram cmn...@gmail.com wrote: 8.2 On Thu, Jun 3, 2010 at 4:48 PM, Shaun McDonald sh...@shaunmcdonald.me.uk wrote: Which version of Postgres are you using? Shaun On Thu, June 3, 2010 11:24 am, M Naveed Akram wrote: == AddRelations: migrating === -- create_enumeration(:nwr_enum, [Node, way, Relation]) rake aborted! An error has occurred, this and all later migrations canceled: PGError: ERROR: syntax error at or near enum LINE 1: create type nwr_enum as enum ('Node', 'Way', 'Relation') ^ : create type nwr_enum as enum ('Node', 'Way', 'Relation') -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem in rake db:migrate with postgre
i upgraded to 8.4 very thanks. but there seems to be an issue with 8.4 for UTF8, it does not allow to create database with UTF8 Encoding. On Thu, Jun 3, 2010 at 9:48 PM, Andy Allan gravityst...@gmail.com wrote: According to http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL: PostgreSQL doesn't have the ENUM types prior to 8.3 I think it would be easiest to upgrade your version of postgres. Cheers, Andy On Thu, Jun 3, 2010 at 12:54 PM, M Naveed Akram cmn...@gmail.com wrote: 8.2 On Thu, Jun 3, 2010 at 4:48 PM, Shaun McDonald sh...@shaunmcdonald.me.uk wrote: Which version of Postgres are you using? Shaun On Thu, June 3, 2010 11:24 am, M Naveed Akram wrote: == AddRelations: migrating === -- create_enumeration(:nwr_enum, [Node, way, Relation]) rake aborted! An error has occurred, this and all later migrations canceled: PGError: ERROR: syntax error at or near enum LINE 1: create type nwr_enum as enum ('Node', 'Way', 'Relation') ^ : create type nwr_enum as enum ('Node', 'Way', 'Relation') -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev -- Regards M Naveed Akram http://www.google.com/profiles/cmnajs ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem in rake db:migrate with postgre
On Thu, Jun 3, 2010 at 1:26 PM, M Naveed Akram cmn...@gmail.com wrote: i upgraded to 8.4 very thanks. but there seems to be an issue with 8.4 for UTF8, it does not allow to create database with UTF8 Encoding. Works for me on 8.4.3 createdb -E UTF8 -O username gis What error are you getting? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] building mapnik tirex - missing dependency information
Am 02.06.2010 23:32, schrieb Frederik Ramm: Better still, build a proper Mapnik Debian package which is what I usually do. Yan you explain in short how to do this? I'm new to the process of building packages myself and would like to use this way in my HowTo. I's nowhere explaines on the Mapnik-Wiki and it seems not be part of the scons.py -- but I don't know scons either. Thank you, Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] building mapnik tirex - missing dependency information
On Thu, Jun 3, 2010 at 18:07, Peter Körner osm-li...@mazdermind.de wrote: Am 02.06.2010 23:32, schrieb Frederik Ramm: Better still, build a proper Mapnik Debian package which is what I usually do. Yan you explain in short how to do this? I'm new to the process of building packages myself and would like to use this way in my HowTo. I's nowhere explaines on the Mapnik-Wiki and it seems not be part of the scons.py -- but I don't know scons either. Frederik probably has a better way, but one way of doing it to just add unstable as a apt archive and install libmapnik-dev from there instead of stable. That'll get you the latest 0.7.1 mapnik, instead of 0.5.1 in stable. You can also apt-get source libmapnik-dev from unstable to get the source, including the debian/ directory used to build it. That'll allow you to build your own from source using Debian's scripts. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OAuth API authrorization problems using Signpost library
Is it possible that this commit is the reason of bug? http://git.openstreetmap.org/?p=rails.git;a=commit;h=41a123334bc75d17335e3f242b0243ddfd3e6389 On Wed, Jun 2, 2010 at 4:55 PM, Peter Körner osm-li...@mazdermind.dewrote: Peter Körner schrieb: Vitaliy Grigoruk schrieb: I'm constantly getting this error while trying to get request token from http://www.openstreetmap.org: You're not the only one: http://lists.openstreetmap.org/pipermail/dev/2010-May/019620.html Ähh wrong link - http://lists.openstreetmap.org/pipermail/dev/2010-May/019617.html Peter -- Vitalii Grygoruk Senior Software Tester / QA Engineer Cogniance Inc. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] start of gwtosm the google webtoolkit port of josm
http://wiki.github.com/h4ck3rm1k3/GWTOsm/ here are the build instructions. mkdir ~/GWTOSM cd ~/GWTOSM install google web kit sdk, very simple. wget http://google-web-toolkit.googlecode.com/files/gwt-2.0.3.zip unzip gwt-2.0.3.zip export GWTPATH=~/GWTOSM/gwt-2.0.3 git clone git://github.com/h4ck3rm1k3/GWTOsm.git get the code ant build ant war create a war file for tomcat ant devmode test locally, you can connect in eclipse via the port : -Xrunjdwp:transport=dt_socket,address=localhost:20345,server=y,suspend=n mike On Wed, May 26, 2010 at 8:19 PM, jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com wrote: Hi, I have refactored some core classes in josm to run in gwt. this includes most of data classes. I am porting the graphic output to use gwt graphics and svg output. Goal is to get the josm core code running in gwt, first the display code and then to build the the edit functions. there are ways to move also rendering to the server side, and the code is all java, compiled by gwt into javascript using a canvas object and svg data. here is a screen-shot : http://www.scribd.com/doc/32005145/Example-Out-of-gwt-osm-port code here: http://github.com/h4ck3rm1k3/GWTOsm git clone g...@github.com:h4ck3rm1k3/GWTOsm.git I am using eclipse gwt plugins : http://dl.google.com/eclipse/plugin/3.5 - http://dl.google.com/eclipse/plugin/3.5 and also the gwt-2.0.3 http://code.google.com/webtoolkit/gettingstarted.html and the two graphics libs the canvas and the vaadin gwtgraphcsi inherits name='com.google.gwt.widgetideas.WidgetIdeas' / inherits name='org.vaadin.gwtgraphics.GWTGraphics'/ Currently having problems with http requests, is using a static xml loaded into as a resource. need to rework the xml parsing, sax does not seem to be directly supported. but you can at least see node positions being displayed. more to come, all help is welcome. please help test and write test cases for josm core code. the more tests we have, the easier it is to port the code. mike ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem in rake db:migrate with postgre
On Thu, Jun 3, 2010 at 6:26 PM, M Naveed Akram cmn...@gmail.com wrote: i upgraded to 8.4 very thanks. but there seems to be an issue with 8.4 for UTF8, it does not allow to create database with UTF8 Encoding. Ah, I think I know this problem. It is very annoying. When postgres is installed, it sets a number of configurations based on your locale. I'm going to assume your running on linux, is that correct? Check the ouput of locale. Everything should end with a .UTF-8, for example: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 However, if yours don't end in .UTF-8, then postgres will install with non-UTF8 locales in lots of configuration files, such as /etc/postgresql/8.4/main/postgresql.conf , and won't let you create UTF8 databases. I find the easiest way to fix this is uninstall postgres, run update-locale LANG=en_GB.UTF-8 and reinstall postgres. Obviously you can use any language you like, just make sure that the locale is fixed before you install postgres. Cheers, Andy ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [josm-dev] Live-GPS bug?
Am 03.06.2010 00:35, schrieb Andreas Weller: Anyone can confirm a working livegps plugin with gpsd 2.92? Not tried it myself. http://gpsd.berlios.de/#news talks about changes in the protocol used since gpsd 2.90. Don't know if livegps was updated in that regard so this might be related ... Regards, ULFL ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev