Re: [OSM-dev] GSoC - Anomaly Detection Engine

2012-05-29 Thread Adam Velkei
2012/5/28 Derick Rethans 

How is it going? We're about a week in and I've not seen any updates to
> the wiki. Have you started on a specification yet?
>

Yes, I have started writing it.

I'm sorry about the lack of communication, due to school duties and some
poor scheduling on my part I have not progressed much during last week.
Some delay was accounted for in my schedule and I can still keep the
deadlines I have set for myself.

Starting this weekend I will make weekly updates on my progress, as
expected, and I'll also keep the wiki up-to-date.

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


[OSM-dev] OpenStreetMap File Explorer

2012-05-29 Thread Vladimir Elistratov
Hi!

I'd like to introduce "OpenStreetMap File Explorer", an open source web
application to interactively explore the content of an arbitrary OSM file.

The application parses an OSM file and displays its content on a map
according to user specified style. The file content is also presented in a
checkbox tree hierarchically. The checkbox tree is similar to one in the
Google Earth desktop program. Double click on a tree element zooms a map on
the corresponding map feature.

Another important feature of the application: the same content can be
displayed on a number of javascript geographical engines. At the moment 4
engines are supported: djeo native engine, Google Maps API, Google Earth
API and Yandex Maps API.

By default the OpenStreetMap file with the center of Berlin is loaded.
Please note that its size is 12 Mb. You might consider to try a local
version of the application under your local web server.

Details how to setup a local version and how to customize look and feel can
be found under the following link:
https://github.com/vvoovv/djeo/wiki/OpenStreetMap-Explorer

It should be possible to extend the application and develop a web portal
for an arbitrary city.

Here are the links to the demo:
- djeo engine:
http://vvoovv.github.com/osm-explorer/djeo-demos/osm-explorer/osm-explorer.html?djeoEngine=djeo
- Google Maps API:
http://vvoovv.github.com/osm-explorer/djeo-demos/osm-explorer/osm-explorer.html?djeoEngine=gmaps
- Google Earth API:
http://vvoovv.github.com/osm-explorer/djeo-demos/osm-explorer/osm-explorer.html?djeoEngine=ge
- Yandex Maps API:
http://vvoovv.github.com/osm-explorer/djeo-demos/osm-explorer/osm-explorer.html?djeoEngine=ymaps

To try the center of Paris, add &data=data/paris.osm to the above URLs.
To try Sochi (the host of 2014 Olympic Winter Games), add
&data=data/sochi.osm to the above URLs.

Finally, the application is based on the djeo javascript library (
http://djeo.org). I will announce djeo separately.

Feedback is appreciated!
Enjoy!

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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread Ákos Maróy
On 29/05/12 16:36, sly (sylvain letuffe) wrote:
>> I chose a bounding box that is only slightly larger than Hungary  - so
>> that the content doesn't stop at the national border. while importing
>> hungary.osm.bz2 is very fast (less then an hour), importing this
>> bounding box via europe.osm.bz2 takes very very long
> 
> Weird, do you mean your import allready ran for ~30 hours or so ?
> 
> My guess would be that your bbox setting wasn't applied at all and what is 
> happenning is that you are importing the whole europe.

oh, that sounds nice...

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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread sly (sylvain letuffe)
> I chose a bounding box that is only slightly larger than Hungary  - so
> that the content doesn't stop at the national border. while importing
> hungary.osm.bz2 is very fast (less then an hour), importing this
> bounding box via europe.osm.bz2 takes very very long

Weird, do you mean your import allready ran for ~30 hours or so ?

My guess would be that your bbox setting wasn't applied at all and what is 
happenning is that you are importing the whole europe.

-- 
sly
qui suis-je : http://sly.letuffe.org
email perso : sylvain chez letuffe un point org

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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread Ákos Maróy
On 29/05/12 16:18, sly (sylvain letuffe) wrote:
>> I wonder what it is doing all this time..
> 
> building indexes mostly

interesting

I chose a bounding box that is only slightly larger than Hungary  - so
that the content doesn't stop at the national border. while importing
hungary.osm.bz2 is very fast (less then an hour), importing this
bounding box via europe.osm.bz2 takes very very long - just this index
building has been going on for over 10 hours now

well, just sharing experiences.


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


[osmosis-dev] An OsmosisRuntimeException : A question of un-named argument...

2012-05-29 Thread michel . souweine
Hello
Although I watched pretty thoroughly the osmosis-dev archives from 2010 to now, 
I couldn't find any answer, but maybe I was shortsighted, for the depressing 
message I got on attempting to run my java sdk project  
Here is the message : 
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Only one default 
(un-named) argument can exist per task

I carefully used "latest" versions for both MATSIM and OSMOSIS with Eclipse as 
advised...

I would be grateful for any  help or hint and thank you deeply in advance 

Michel Souweine


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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread sly (sylvain letuffe)
On mardi 29 mai 2012, Ákos Maróy wrote:
> All indexes on  planet_osm_polygon created  in 577s
> Completed planet_osm_polygon
> Stopped table: planet_osm_rels in 819s

You can find here a typicall session of import with osm2pgsql and compare with 
your own to have a rough estimate of how long it will continue :
http://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks/Dell_R610_import_1

> I wonder what it is doing all this time..

building indexes mostly


-- 
sly
qui suis-je : http://sly.letuffe.org
email perso : sylvain chez letuffe un point org

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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread Ákos Maróy
On 29/05/12 15:06, Sven Geggus wrote:
> On Unix "-H localhost" does not make sence as does SSL because local access
> using unix domain sockets should be much faster and encryption is not needed
> on localhost.

well, still it does, as access via a network socket is different than
direct local access, at least from an authentication perspective.

but still, it's contradictory that initial access works fine, and then
there is an SSL error at the end?

> Try again with a small OSM file (e.g. downloaded via API) and
> without the "-H localhost" option.

interestingly, another small file went through fine using the very same
options.

since then I'm importing the same Europe file, but with a defined
bounding box (-b option). now this seems to have went through, but it's
spending over 10 hours now after this step, doing high I/O by posgres:


All indexes on  planet_osm_polygon created  in 577s
Completed planet_osm_polygon
Stopped table: planet_osm_rels in 819s


I wonder what it is doing all this time..


Akos

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


Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread Sven Geggus
Ákos Maróy  wrote:

> the command I used for the import was:
> 
> /usr/local/bin/osm2pgsql -d osm -U osm -W -H localhost -S
> /usr/local/share/osm2pgsql/default.style -G -v -m -s -k -K -C 2048
> europe-120525.osm.bz2

On Unix "-H localhost" does not make sence as does SSL because local access
using unix domain sockets should be much faster and encryption is not needed
on localhost.

Try again with a small OSM file (e.g. downloaded via API) and
without the "-H localhost" option.

Sven

-- 
"Der wichtigste Aspekt, den Sie vor der Entscheidung für ein Open
Source-Betriebssystem bedenken sollten, ist, dass Sie kein
Windows-Betriebssystem erhalten." (von http://www.dell.de/ubuntu)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

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