Re: [OSM-dev] licensing question

2010-08-05 Thread Ævar Arnfjörð Bjarmason
On Wed, Aug 4, 2010 at 21:55, Jim Burt jimb...@gmail.com wrote:
 Greetings,
 I'm interested in using OpenStreetMap for an internally facing website for
 my company (no public access). This is going to be a small app with very
 limited users and page views.

 I've reviewed the licensing, and this appears to be acceptable use. Can
 anyone confirm this?

Yes, I'm also pretty sure that you can just completely ignore the
license since you're only using the data within your own organization.
The licence only kicks in when you're doing re-distribution to third
parties.

(See e.g. Google's use of Linux, they don't re-distribute their
changes, and don't have to)

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Serge Wroclawski
On Thu, Aug 5, 2010 at 7:32 AM, Ævar Arnfjörð Bjarmason
ava...@gmail.com wrote:

 Yes, I'm also pretty sure that you can just completely ignore the
 license since you're only using the data within your own organization.
 The licence only kicks in when you're doing re-distribution to third
 parties.

 (See e.g. Google's use of Linux, they don't re-distribute their
 changes, and don't have to)

That's a feature of the license, not of licensing schemes.

A license may have any number of terms in. It might say that any
changes (internal or not) are required to be redistributed back to the
upstream provider. This is a term that the original Plan 9 license
had, for example.

The issue of Redistribution is complicated by the fact that various
licenses use the term and some use other terms. For example the term
is removed from GPLv3 and replaced with the word Convey, which is
defined[1]. The ODbL also uses the term Convey and defines it
differently and then uses the term Re-utilization to mean something
similar to what GPLv3 calls Convey.

The various licenses have various terms of usage, and I think what you
(Ævar) are referring to is that GPL says in section 9 that acceptance
of the license isn't required for anything other than modification and
conveyance. But that's a feature of the GPL's wording. Similarly ODbL
(and I'm only using ODbL because it's more clear)'s section 4 has
fewer requirements for internal use than public use.

In other words, the OP does have to comply to the license internally,
but the burden of doing so for internal use is very low.

- Serge

[1] Defining what might otherwise seem straightforward terms is pretty
common in contracts and actually clarifies what might otherwise be
murky waters.

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Pieren
On Thu, Aug 5, 2010 at 1:32 PM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote:

 Yes, I'm also pretty sure that you can just completely ignore the
 license since you're only using the data within your own organization.
 The licence only kicks in when you're doing re-distribution to third
 parties.


Could you point out in the license text where own organization and third
party are defined and where it says that CC or BY do not apply for the
first ?
One point is to say as soon as it stays internal, any license terms
infringement will not be visible. Another is to say that the license does
not apply inside organisations.

And yes, it's the wrong list for such discussion. Have a look at
http://wiki.openstreetmap.org/wiki/Contact for the legal talks.

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Anthony
On Thu, Aug 5, 2010 at 8:08 AM, Serge Wroclawski emac...@gmail.com wrote:
 A license may have any number of terms in. It might say that any
 changes (internal or not) are required to be redistributed back to the
 upstream provider. This is a term that the original Plan 9 license
 had, for example.

It might, but then, that clause might not be enforcible, any more than
a clause in a coloring book which says you aren't allowed to color the
grass red.  This of course could vary from jurisdiction to
jurisdiction as well.

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Ævar Arnfjörð Bjarmason
On Thu, Aug 5, 2010 at 12:31, Pieren pier...@gmail.com wrote:
 On Thu, Aug 5, 2010 at 1:32 PM, Ævar Arnfjörð Bjarmason ava...@gmail.com
 wrote:

 Yes, I'm also pretty sure that you can just completely ignore the
 license since you're only using the data within your own organization.
 The licence only kicks in when you're doing re-distribution to third
 parties.


 Could you point out in the license text where own organization and third
 party are defined and where it says that CC or BY do not apply for the
 first ?

Copyright law covers distribution. As long as you're not distributing
a work to third parties you don't have to worry about it.

If you haven't signed a contract nobody can force you to adhare to a
license for a copyrighted work until you start distributing it. I can
scribble on my Sunday newspaper without caring about copyright, but if
I distribute it to other people I have to start worrying.

The same thing applies to corporations. The Sunday Newspaper Inc. can
distribute a proprietary third-party image around their office while
they're deciding what to do with it. They don't have to worry about
contacting someone else for royalties until they put it in print and
thus start distributing the work to third parties.

So I don't see why someone couldn't completely ignore the CC-BY-SA
when using OSM for personal or intra-office use. They're not
re-distributing anything, so the licenes doesn't apply.

The above is just my understanding of copyright law. I'm not a lawyer
and it may all be BS. But as far as I can see it's backed up by
several examples in the wild.

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


Re: [OSM-dev] Revert of changesets

2010-08-05 Thread Dan Karran
On 18 July 2010 23:37, Dan Karran d...@karran.net wrote:
 Please could somebody revert the recent changesets by
 http://www.openstreetmap.org/user/Tomgus as they all appear to be
 destructive. Not sure if it's intentional or accidental at this point.
 I have just contacted the user, and haven't heard back yet.

I didn't hear back from this user, and they haven't done any editing
since. If someone could revert
http://www.openstreetmap.org/browse/changeset/5254725 (deleting stuff
from Whitehall) that'd be great. I should look into how to do these
myself :)


Cheers,
Dan

-- 
Dan Karran
d...@karran.net
www.dankarran.com

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


Re: [OSM-dev] Revert of changesets

2010-08-05 Thread Grant Slater
On 5 August 2010 14:16, Dan Karran d...@karran.net wrote:
 On 18 July 2010 23:37, Dan Karran d...@karran.net wrote:
 Please could somebody revert the recent changesets by
 http://www.openstreetmap.org/user/Tomgus as they all appear to be
 destructive. Not sure if it's intentional or accidental at this point.
 I have just contacted the user, and haven't heard back yet.

 I didn't hear back from this user, and they haven't done any editing
 since. If someone could revert
 http://www.openstreetmap.org/browse/changeset/5254725 (deleting stuff
 from Whitehall) that'd be great. I should look into how to do these
 myself :)


Done.
http://www.openstreetmap.org/browse/changeset/5408153

/ Grant

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


Re: [OSM-dev] Revert of changesets

2010-08-05 Thread Dan Karran
On 5 August 2010 14:26, Grant Slater openstreet...@firefishy.com wrote:
 On 5 August 2010 14:16, Dan Karran d...@karran.net wrote:
 On 18 July 2010 23:37, Dan Karran d...@karran.net wrote:
 Please could somebody revert the recent changesets by
 http://www.openstreetmap.org/user/Tomgus as they all appear to be
 destructive. Not sure if it's intentional or accidental at this point.
 I have just contacted the user, and haven't heard back yet.

 I didn't hear back from this user, and they haven't done any editing
 since. If someone could revert
 http://www.openstreetmap.org/browse/changeset/5254725 (deleting stuff
 from Whitehall) that'd be great. I should look into how to do these
 myself :)


 Done.
 http://www.openstreetmap.org/browse/changeset/5408153

Thanks Grant :)


Cheers,
Dan

-- 
Dan Karran
d...@karran.net
www.dankarran.com

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


Re: [josm-dev] JOSM and Java 6

2010-08-05 Thread Sebastian Klein

Sebastian Klein wrote:
I guess we also need a message box for Java 5 users trying to run JOSM 
 = 3378. Currently it shows only the generic This is always a coding 
error-Box.


Done. (In [3417])

The following classes need to be Java 5 compatible for this message box 
to show up:


JOSM
org.openstreetmap.josm.gui.Main
org.openstreetmap.josm.gui.MainApplication
org.openstreetmap.josm.tools.I18n.

(@Override for interfaces implementations is OK.) All other classes 
shouldn't be a problem.



Sebastian

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


Re: [OSM-dev] licensing question

2010-08-05 Thread andrzej zaborowski
Hi,

On 5 August 2010 14:08, Serge Wroclawski emac...@gmail.com wrote:
 On Thu, Aug 5, 2010 at 7:32 AM, Ævar Arnfjörð Bjarmason
 ava...@gmail.com wrote:
 Yes, I'm also pretty sure that you can just completely ignore the
 license since you're only using the data within your own organization.
 The licence only kicks in when you're doing re-distribution to third
 parties.

 (See e.g. Google's use of Linux, they don't re-distribute their
 changes, and don't have to)

 That's a feature of the license, not of licensing schemes.

 A license may have any number of terms in. It might say that any
 changes (internal or not) are required to be redistributed back to the
 upstream provider. This is a term that the original Plan 9 license
 had, for example.

There are conditions in which the organisation will be considered the
user of the data, and not the individuals in the organisation.
Similarly the organisation can be party to the ODbL contract instead
of an employee.  Surely one of these conditions is that the employment
contracts of all the employees oblige them to protect the company's ip
and obey contracts the company has with others (and most employment
contracts do say that).  So in these conditions, as Ævar says, they
can do whatever they want internally. IMO

On that note the debian free software guidelines do include a test
that can be applied to a license text that ensure users don't have to
do anything unless they redistribute the binaries for example (the
desert island test).

Cheers

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Iván Sánchez Ortega
El día Thursday 05 August 2010 16:27:49, andrzej zaborowski dijo:
 On that note the debian free software guidelines do include a test
 that can be applied to a license text that ensure users don't have to
 do anything unless they redistribute the binaries for example (the
 desert island test).

And we have the cake test, inspired by the DFSG:

http://blog.okfn.org/2010/03/15/the-cake-test-of-freedom/

-- 
Iván Sánchez Ortega i...@sanchezortega.es

Un ordenador no es una televisión ni un microondas: es una herramienta 
compleja.

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


Re: [OSM-dev] licensing question

2010-08-05 Thread Emilie Laffray
2010/8/5 Iván Sánchez Ortega i...@sanchezortega.es



 And we have the cake test, inspired by the DFSG:

 http://blog.okfn.org/2010/03/15/the-cake-test-of-freedom/


But the cake is a lie.

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


Re: [OSM-dev] troubles installing osm2pgsql on Mac OS X 10.6: make fail

2010-08-05 Thread owntheweb

Hello Dane,
I'll be sure to check out homebrew in the morning. I also don't mind
uninstalling macports, at least temporarily (with my experience level, I
don't recall what I installed it for initially) to get this thing up. For
the lines you mentioned, here is the full printout (no luck this round):

$
PATH=/Library/Frameworks/GEOS.framework/unix/bin/:/usr/local/pgsql/bin/$PATH
\
 CFLAGS=-I/usr/include -I/Library/Frameworks/PROJ.framework/unix/include
 \
 LDFLAGS=-L/usr/lib -L/Library/Frameworks/PROJ.framework/unix/lib/ \
 ./configure  make
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
gcc  -o osm2pgsql UTF8sanitizer.o expire-tiles.o input.o keyvals.o
middle-pgsql.o middle-ram.o osm2pgsql.o output-gazetteer.o output-null.o
output-pgsql.o pgsql.o rb.o reprojection.o sprompt.o text-tree.o
build_geometry.o -g -O2 -Wall -Wextra -I/opt/local/include/libxml2
-I/opt/local/include -I/usr/local/pgsql/include -DVERSION=\0.69-22560\
-DHAVE_PTHREAD -DOSM2PGSQL_DATADIR=\/usr/local/share/osm2pgsql\
-L/opt/local/lib -lxml2 -lz -lpthread -liconv -lm  -L/opt/local/lib -lgeos
-L/usr/local/pgsql/lib -lpq -lbz2 -lz -g -lproj -lstdc++ -lpthread
ld: warning: in /opt/local/lib/libxml2.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libgeos.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libbz2.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libproj.dylib, file is not of required
architecture
Undefined symbols:
  _pj_transform, referenced from:
  _coords_to_tile in reprojection.o
  _reproject in reprojection.o
  geos::io::WKTReader::WKTReader(geos::geom::GeometryFactory const*),
referenced from:
  _parse_wkt in build_geometry.o
 
geos::geom::GeometryFactory::createLinearRing(geos::geom::CoordinateSequence*)
const, referenced from:
  _build_geometry in build_geometry.o
  _build_geometry in build_geometry.o
  _get_wkt_split in build_geometry.o
  _get_wkt_simple in build_geometry.o
  _xmlCleanupParser, referenced from:
  _main in osm2pgsql.o
  geos::geom::GeometryFactory::~GeometryFactory(), referenced from:
  _build_geometry in build_geometry.o
  _build_geometry in build_geometry.o
  _parse_wkt in build_geometry.o
  _parse_wkt in build_geometry.o
  _get_wkt_split in build_geometry.o
  _get_wkt_split in build_geometry.o
  _get_wkt_simple in build_geometry.o
  _get_wkt_simple in build_geometry.o
  _xmlFreeTextReader, referenced from:
  _main in osm2pgsql.o
  geos::io::WKTReader::read(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const), referenced from:
  _parse_wkt in build_geometry.o
  _pj_get_def, referenced from:
  _project_init in reprojection.o
  _xmlReaderForIO, referenced from:
  _sanitizerOpen in UTF8sanitizer.o
  _inputUTF8 in input.o
  _gzclose, referenced from:
  _inputClose in input.o
  _xmlTextReaderName, referenced from:
  _main in osm2pgsql.o
  _gzopen, referenced from:
  _inputOpen in input.o
  geos::geom::Coordinate::equals2D(geos::geom::Coordinate const) const,
referenced from:
  _get_wkt_split in build_geometry.o
  _get_wkt_simple in build_geometry.o
  _gzread, referenced from:
  _readFile in input.o
 
geos::geom::GeometryFactory::createMultiLineString(std::vectorgeos::geom::Geometry*,
std::allocatorgeos::geom::Geometry* *) const, referenced from:
  _build_geometry in build_geometry.o
  geos::geom::Coordinate::Coordinate(double, double, double), referenced
from:
  _build_geometry in build_geometry.o
  coords2nodes(geos::geom::CoordinateSequence*, osmNode**)  in
build_geometry.o
  _get_wkt_split in build_geometry.o
  _get_wkt_simple in build_geometry.o
  geos::geom::Coordinate::distance(geos::geom::Coordinate const) const,
referenced from:
  _build_geometry in build_geometry.o
  _get_wkt_split in build_geometry.o
  _xmlTextReaderGetAttribute, referenced from:
  _ParseAction in osm2pgsql.o
  _StartElement in osm2pgsql.o
  _StartElement in osm2pgsql.o
  _StartElement in osm2pgsql.o
  _StartElement in osm2pgsql.o
  _StartElement in osm2pgsql.o
  _StartElement in osm2pgsql.o
  

Re: [OSM-dev] troubles installing osm2pgsql on Mac OS X 10.6: make fail

2010-08-05 Thread owntheweb

Updated questions regarding this topic:
-If I uninstall macports, do I need to reinstall all the related libraries?
(I installed some from source, and some from binaries found at
http://www.kyngchaos.com/software:frameworks, none with macports that I am
aware of)
-Homebrew looks like a ruby on rails tool. I'm still reading up on it, but
how would you compile something using this tool?
-Doing some checking, I see that /opt/local/lib/libiconv.dylib and
/opt/local/lib/libbz2.dylib do not exist. Are these required even though the
output says, 'Id: warning: in /opt/local/lib/libiconv.dylib, file is not of
required architecture'
-Should I re-install everything from source or with a different recommended
tool (Homebrew)?

Chris

-- 
View this message in context: 
http://gis.638310.n2.nabble.com/troubles-installing-osm2pgsql-on-Mac-OS-X-10-6-make-fail-tp5374153p5377929.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

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


Re: [OSM-dev] troubles installing osm2pgsql on Mac OS X 10.6: make fail

2010-08-05 Thread owntheweb

Sorry, one more update. 'file is not of required architecture' just clicked
in the brain. Are these the libraries I need to re-install first?
-- 
View this message in context: 
http://gis.638310.n2.nabble.com/troubles-installing-osm2pgsql-on-Mac-OS-X-10-6-make-fail-tp5374153p5377934.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

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


[OSM-dev] Download invalid xml data with bbox request

2010-08-05 Thread Thomas Emge
Every now and then I run into some invalid xml document being downloaded when I 
request data with a bounding box like

http://www.openstreetmap.org/api/0.6/map?bbox=9.97014,53.57199,10.02984,53.59460

The downloaded xml document contains a section where the response looks like it 
is starting a second xml document within the first xml response.

Any idea why this is happening?

Thanks,

Thomas


.snip..
node id=835615933 lat=53.5901994 lon=10.0080467 user=!i! uid=25720 
visible=true version=1 changeset=5331741 timestamp=2010-07-27T17:38:32Z
  tag k=leisure v=pitch/
  tag k=sport v=multi/
 /node
 node id=835615953 lat=53.5905807 lon=10.0156611 user=!i! uid=25720 
visible=true version=1 changeset=5331741 timestamp=2010-07-27T17:38:32Z
  tag k=amenity v=fa?xml version=1.0 encoding=UTF-8?
osm version=0.6 generator=CGImap 0.0.2
 bounds minlat=53.5719900 minlon=9.9701400 maxlat=53.5946000 
maxlon=10.0298400/
 node id=15738670 lat=53.5900548 lon=10.0131039 user=ajeba 
uid=167616 visible=true version=5 changeset=4448816 
timestamp=2010-04-17T15:30:16Z
  tag k=highway v=traffic_signals/
 /node
node id=15915165 lat=53.5944770 lon=9.9987421 user=ajeba uid=167616 
visible=true version=12 changeset=4170629 
timestamp=2010-03-19T14:37:24Z/
...snip
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[josm-dev] Windows-Installer: default projection is WGS84

2010-08-05 Thread Sebastian Klein

Hi,

I just tried the windows installer and it creates the following default 
preference file:


  projection=org.openstreetmap.josm.data.projection.Epsg4326
  layerlist.visible=true
  selectionlist.visible=true
  commandstack.visible=true
  propertiesdialog.visible=true
  osm-server.url=http://www.openstreetmap.org/api
  laf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
  plugins=openstreetbugs;remotecontrol;validator;wmsplugin

Especially interesting is the first line, where it puts WGS84 as default 
projection. Why is that? Shall we change it to JOSM's default projection 
(Mercator - EPSG:3857)?


I would trim this file to

  laf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
  plugins=openstreetbugs;remotecontrol;validator;wmsplugin

everything else takes a proper default value. (Which was not always the 
case, so I understand it used to be necessary in the past.)



Sebastian

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