Re: [Potlatch-dev] Potlatch doesn't work after recompile

2012-01-03 Thread Andy Allan
On 30 December 2011 20:09, Eric Wolf ebw...@gmail.com wrote:
 I had to stick this in my blog because the listserv choked on the original
 email - I was being too detailed.

 In a nutshell, if I make a trivial code change and recompile Potlatch with
 ant, the resulting code doesn't work. The problem is explained in detail
 here:

 http://www.asifanyonecares.com/2011/12/potlatch-dev-problems.html

Hi Eric,

I tried investigating this last week, but since it takes sooo long to
compile potlatch on my laptop I had to give up! I spent an hour or so
compiling over and over this evening instead.

First off, don't worry about ant test not working. The unit tests
have been broken for a few months since various internal APIs were
changed without also updating the tests[1].

Secondly, I see the same problem as you're seeing with the builds
running successfully but resulting in unusable .swf files. The error
messages are slightly perplexing so I've no idea what's the cause.
I'll note simply that I can make debug builds using the fcsh command
line compiler, and also using ant release to build non-debug builds
that work fine too.

If anyone has any clues as to what's up with the build system, please shout!

Cheers,
Andy

[1] It's a shame the unit tests are so unloved - I find these prove
remarkably useful in so many other projects.

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [OSM-dev] What can we do to get a tile.openstreetmap.org contributable CDN within a month?

2012-01-03 Thread Philipp Borgers
We can provide rack space and bandwidth for at least one server here in
Berlin. We also have some servers we can contribute to the project but
they are not that powerful.

The major problem are low zoom level tiles which are rendered adhoc. We
can't solve this problem with tile caches as far as I know. Should every
node in the CDN be able to render tiles? Is there some kind of global
render cluster where caching nodes connect to? How do we keep the
data/database for rendering in sync?

Do we offer different tile styles?

Is CDN usage free of charge?

On Fri, 2011-12-30 at 18:10 +0100, Stefan de Konink wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 The basic outline;
 
 - - People seem to love using tile.openstreetmap.org for any of their apps
 - - Apps get blocked for various reasons, contributing back is difficult
 - - OpenStreetMap wants to be the leading provider of such data
 
 
 I would propose a small working group to outline what should happen to
 facilitate the creation of a Content Delivery Network (CDN) serving
 the basic tiles, and allow easy contribution this network. This should
 produce a prototype of at least 3 servers.
 
 
 Questions such as: quality, update frequency, traffic shaping,
 geographical balancing and high availability could be part of this
 working group.
 

We should define in addition some requirements for servers participating
in the network like:

* Availability
 * Server
 * Network
* min. Bandwidth
* min. RAM/DISK space
* max. access time
* root-access for admins of the CDN

 
 I would like to invite anyone to participate, especially:
  - people that already have their own tileservers running, and/or
are currently balancing traffic;
  - business folks: what could be a motivation and what can be a
cutback in for example attribution,
  - users of for example openlayers, etc. what kind of caching can
be applied, and if this should be configurable client side
 
 
 Participation can announced in private or on list.
 
 
 Stefan
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.18 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEAREKAAYFAk798H0ACgkQYH1+F2Rqwn2I9ACeJV+vFfBvI4CaTET0BqjuuX1s
 G78AnRv6+Qh7MkIrN1DQ6fQ34p1j0uuS
 =+WNS
 -END PGP SIGNATURE-
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev



signature.asc
Description: This is a digitally signed message part
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] An update on github.com/openstreetmap

2012-01-03 Thread Ævar Arnfjörð Bjarmason
On Tue, Jan 3, 2012 at 07:49, Philipp Borgers borg...@mi.fu-berlin.de wrote:

 Not sure, if this is the right place... It seems someone's running a
 buggy cron job, that creates new branches on mapnik-stylesheets. In my
 github news feed I'm getting items like:
  openstreetmap-mirror created branch 
  mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/mirror/master
    at openstreetmap/mapnik-stylesheets


 Ævar Arnfjörð Bjarmason told me yesterday a bug fix is on the way.

Yeah I screwed up the pushing of multiple git-svn branches. I'll try
to get around to fixing it soon-ish.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] mapnik2 - tirex

2012-01-03 Thread Philipp Borgers
On Tue, 2012-01-03 at 12:33 +0100, Kay Drangmeister wrote:
 Hi.
 
 Being new to the list, I am about to install a new tirex/mapnik server and
 am wondering if it's favourable to install mapnik 2 already.
 
 The question is: how to connect tirex to mapnik 2 and how to (automatically?)
 convert my existing mapnik 1 styles to mapnik 2.

https://github.com/mapnik/mapnik/wiki/Mapnik2

 
 This may have been discussed already, so a pointer would be very welcome.
 
 Kind regards,
 Kay
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev



signature.asc
Description: This is a digitally signed message part
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] What can we do to get a tile.openstreetmap.org contributable CDN within a month?

2012-01-03 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Op 03-01-12 09:21, Philipp Borgers schreef:
 We can provide rack space and bandwidth for at least one server
 here in Berlin. We also have some servers we can contribute to the
 project but they are not that powerful.

I hope you can put your offer on the Wiki;
http://wiki.openstreetmap.org/w/index.php?title=TileCDN

A real real CDN just requires local bandwidth, a harddrive and a
static webserver. It is therefore interesting to offer 'local' end
nodes there were traffic is free due to peering, for example.


 The major problem are low zoom level tiles which are rendered
 adhoc. We can't solve this problem with tile caches as far as I
 know. Should every node in the CDN be able to render tiles?

No, the CDN nodes will al be static. Some intelligent behaviour is
envisioned for tiles that are not rendered.


 Is there some kind of global render cluster where caching nodes
 connect to?

The other way around, nodes receive updates, push based.


 How do we keep the data/database for rendering in sync?

Like every other tile server does. And maintaining central information
on last updates per participant in the CDN.


 Do we offer different tile styles?

First things first: the default map style.


 Is CDN usage free of charge?

Yes, obviously. I envision that something can be done using the
attribution text to present a status/powered by notification.


Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAk8DRcwACgkQYH1+F2Rqwn1gCgCgi7xMqCuY3xbvXTWjzEwKamHn
LAAAnjZpAw0qFtQUsuuNKu9pRZ0Ql+mz
=j+uU
-END PGP SIGNATURE-

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] ask How to Build API on my own map ?

2012-01-03 Thread Anwar Azulfa
i have following reference from
http://wiki.openstreetmap.org/wiki/The_Rails_Port

When i execute :

rake gems:install


i have following error:

*$ rake gems:install --trace*
*rake aborted!*
*no such file to load -- bundler/setup*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'*
*/home/frans/Map/src/rails/config/boot.rb:6*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'*
*/home/frans/Map/src/rails/config/application.rb:1*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'*
*/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'*
*/home/frans/Map/src/rails/Rakefile:4*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in
`load_rakefile'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501:in
`raw_load_rakefile'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in
`load_rakefile'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in
`standard_exception_handling'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in
`load_rakefile'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in
`standard_exception_handling'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'*
*/var/lib/gems/1.8/gems/rake-0.9.2.2/bin/rake:33*
*/usr/local/bin/rake:19:in `load'*
*/usr/local/bin/rake:19*


What should i do to solve this ?

Thanks

2012/1/3 Philipp Borgers borg...@mi.fu-berlin.de

 First you should think about what you want. There is an API, and XAPI
 and there is the overpass API that features its own API.

 For the XAPI setting up the database is as simple as setting up a
 database for rendering. Time for import depends on the data you give as
 input. The complexity for setting up the differen XAPI implementations
 differs. We tried to make the setup of the xappy.js implementation as
 easy as possible but the implementation isn't complete (missing some
 request types).

 Setting up overpass api and database is relative easy compared to xapi
 setup but the import tends to be longer.

 Hope this helps somehow.

 Regards
 Philipp

 On Mon, 2012-01-02 at 17:56 +0700, Anwar Azulfa wrote:
  which one better between XAPI and overpass API ?and which on simpler?
 
 
  2012/1/2 Anwar Azulfa an...@troyans.net
  Thanks for Reply Tom,
 
  i have already built Tile Server on my server.
  Now I want to build API on it
 
 
 
 
  2012/1/2 Tom Hughes t...@compton.nu
  On 02/01/12 09:39, Anwar Azulfa wrote:
 
  I want to build API on my own map (tile
  server).xe
 
 
  Well first you need to make up your mind if you want
  an API or a tile server as they are two different
  things...
 
 
  should i do use this reference ? :
  http://wiki.openstreetmap.org/wiki/Rails_port
 
 
  If you want an API then yes, if you want a tile server
  then no.
 
  Tom
 
  --
  Tom Hughes (t...@compton.nu)
  http://compton.nu/
 
 
 
 
  --
  Regards,
  M.Iftakhul Anwar
 
 
 
 
 
 
  --
  Regards,
  M.Iftakhul Anwar
 
 
 
  ___
  dev mailing list
  dev@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/dev


 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev




-- 
Regards,
M.Iftakhul Anwar
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [josm-dev] How to report EDT violations

2012-01-03 Thread Jiri Klement
Hi,

Problem in history dialog should be fixed now. As for reporting, you
can make tickets but it's really minor issue, in 99.9% of cases this
won't break anything. Or you can disable the check by setting
debug.edt-checker.enable to false (default is true only for local
builds, users of josm-latest.jar/josm-tested.jar shoudn't get these
warnings.

--
Jiri

On Sun, Jan 1, 2012 at 10:07 PM, Stephan Knauss o...@stephans-server.de wrote:
 Hi,

 a while ago JOSM started to print EDT violations in the console window.

 As these are quite frequent I thought they would be fixed fast. However,
 they seam to persist. For example when opening the history dialog it floods
 the console for some seconds before the dialog opens.

 What would be the preferred way to report these? Create a trac ticket for
 each callstack that looks unique?

 Stephan

 ___
 josm-dev mailing list
 josm-dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/josm-dev

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev