Re: [JPP-Devel] Spatialite multigeometry trouble and JTS v. 1.13

2013-04-15 Thread Michaël Michaud

Hi,

Just compared both strings to the spec,

First string follows the WKB specification
01 endianess
0600 MultiPolygon
0200  Number of Polygons
01 endianess
0300 Polygon
0200 Two rings
0400 Four points
...

Second string follows the Spatialite specification
http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html
01 endianess
0600 MultiPolygon
0200 Number of Polygons
69 Spatialite mark starting a new Geometry
0300 Polygon
0200 Two Rings
0400 Four points

In spatialite geometry description, endianess is not repeated for each 
component,

instead, the 69 byte appears
Probably the previous version of JTS could accomodate this because the byte
order information is generally redundant, but a more strict parser will find
a non authorized description for the Polygon as it does not start by the 
byte

order.

This means that the spatialite parser which just skipped the first 
bytes, then

read the following byte stream as a wkb byte array with JTS must read each
component as a Spatialite Geometry starting with 69.

Michaël


On Sun, Apr 14, 2013 at 3:39 PM, Rahkonen Jukka 
jukka.rahko...@mmmtike.fi mailto:jukka.rahko...@mmmtike.fi wrote:


   Hi,

   I made two tests:
   1) With PostGIS 2.1
   select encode(ST_AsBinary(ST_GeomFromText('MULTIPOLYGON(((0 0, 10
   20, 30 40, 0 0), (1 1, 2 2, 3 3, 1 1)),
 ((100 100, 110 110, 120 120, 100 100)))')), 'hex')
   Query gives the same WKB that you used in JTS bug #3610843, that is
   
010600020001030002000400244034403e4044400400f03ff03f0040004008400840f03ff03f010300010004005940594000805b4000805b405e405e4059405940

   2) With Spatialite
   select
   
GeomFromWKB(x'010600020069030002000400244034403E4044400400F03FF03F0040004008400840F03FF03F690300010004005940594000805B4000805B405E405E4059405940')
   Query creates a multipolygon geometry.


Jukka,  these two WKB hex strings differ around the 20th character:

010600020001030
010600020069030

The second one is the one I retrieved from spatialite. When I try to 
parse the second one with Postgis (1.5.3), I get an error:


select 
ST_GeomFromWkb(decode('010600020069030002000400244034403E4044400400F03FF03F0040004008400840F03FF03F690300010004005940594000805B4000805B405E405E4059405940', 
'hex'));

ERROR:  invalid WKB type
HINT:  You must specify a valid OGC WKT geometry type such as POINT, 
LINESTRING or POLYGON


I haven't manually verified the WKB, but it might be that spatialite is 
generating an invalid WKB, and JTS 1.12 was more forgiving about it than 
1.13 is.


  -lreeder


   Therefore it looks like the WKB is ok. But I do not understand that
   if PostGIS gives exactly the same WKB, how it is possible that
   OpenJUMP works with PostGIS but not with Spatialite through DB Query
   plugin?

   -Jukka Rahkonen-






--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] SQL test for tablenames

2013-04-15 Thread Michaël Michaud
Hi Uwe,

Don't have experience with other databases,
but your description seems to be consistent.
It also means that from OpenJUMP you can :

just use unquoted lower case identifiers if you want a case insensitive 
behaviour
any case unquoted identifier for a case sensitive behaviour

One can say it is a convention over configuration choice, as you can get
both behaviours without having to use quotes.

Michaël

 Hi,

 I have made some tests for tablenames in PostgreSQL.

 This works (name without delimiter):
 create table Abc ( id int );
 select * from abc;
 select * from ABC;
 select * from abC;
 ---
 This causes problems:
 create table Def ( id int );
 select * from Def; // this is ok!

 --Problems:
 --select * from Def;
 --select * from def;

 -- But if you write (in lower case) this works:
 create table ghi ( id int );
 select * from ghi;
 select * from Ghi;
 select * from GHI;

 Please, can somebody test this with other DBMS?

 Thanks.

 Uwe

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Rahkonen Jukka
Michaël Michaud wrote:

 In some cases, such a bounding box is not available in the XML, and the
 plugin does not zoom to the layer. I don't think there is much to do about 
 this
 case.

Perhaps there could me a short message: No BBOX for this SRS/CRS to zoom to.  
Lon-Lat BBOX is: 


-Jukka Rahkonen-

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Rahkonen Jukka
Hi,

I made some cross checks  with combinations of

-  WMS 1.1.1 or WMS 1.3.0

-  Mapserver 6.0 or Geoserver 2.3.0

-  EPSG:4326 (native latitude-longitude), EPSG:2393 (native 
Northing-Easting), EPSG:3047 (native Northing-Easting) and EPSG:3067 (native 
Easting-Northing)

I did not find any malfunctions which is amazing keeping in mind that this is 
only your second iteration round with WMS 1.3.0 and flipping coordinate axis.

-Jukka Rahkonen-


Michaël Michaud wrote:

Hi,

I have committed the modifications about WMS 1.3.0 (r3505)
Thanks to Jukka's server, I could test and compare WMS 1.1.1 / WMS 1.3.0
Tell me if lat/lon problems are fixed with all your use cases.

Michaël

Hi,

Thanks for the tests.
I still not master the lat/lon lon/lat problem, but with the help of Jukka,
it should not be a problem to fix it...

Michaël
Hi,

Reason is simple, Lon-Lat is not turned into Lat-Lon in BBOX.  But Michaël has 
been doing some other not totally correct changes which are causing troubles 
too. But everything is correctable.

-Jukka-
Giuseppe Aruta wrote:

Hi Michael and Jukka
I tried with lat/lon server and I get no display
Peppe

2013/4/10 Rahkonen Jukka 
jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi
Hi,

May I aski f you have even tried to handle the BBOX axis order, and if yes, in 
which way? WFS 1.3.0 does not work well with Lat-Lon and Northing-Easting 
systems now.

-Jukka-

Michaël Michaud wrote:

 Hi Jukka, WMS users,

 I added WMS 1.3.0 support but did not commit yet.
 code is available here :
 http://geo.michaelm.free.fr/OpenJUMP/
 If it can be tested today to check I did not introduce a severe regression, I 
 can
 commit the code this evening.

 Note : Beside 1.3.0, I've made a few changes to bounding box management.

 Michaël




 --
 Precog is a next-generation analytics platform capable of advanced analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--

Precog is a next-generation analytics platform capable of advanced

analytics on semi-structured data. The platform includes APIs for building

apps and a phenomenal toolset for data science. Developers can use

our toolset for easy data analysis  visualization. Get a free account!

http://www2.precog.com/precogplatform/slashdotnewsletter




___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--

Precog is a next-generation analytics platform capable of advanced

analytics on semi-structured data. The platform includes APIs for building

apps and a phenomenal toolset for data science. Developers can use

our toolset for easy data analysis  visualization. Get a free account!

http://www2.precog.com/precogplatform/slashdotnewsletter




___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-15 Thread Uwe Dalluege
Hi Michaël,

I have tested it again with the lates nightbuild
(20130414 rev.3505) but I get no errormessage
like you.
Do you tested it with JRE 1.7.0_17?

Do you know which class is resposible for the error-message?

Uwe


Am 11.04.2013 20:27, schrieb Michaël Michaud:
 Hi,
 With OJ rev. 3459
 and W7 (64 bit) I do not
 see errors or exceptions.
 There is no dialog window or a message
 in the status-line.

 I tested  Run Datastore Query
 with this simple query:

 select * from xyz

 The table xyz does not exists in my database!
 But there is no error-message.
 With a more recent version, I get the following :



 Michaël
 Uwe


 Inside the fence there is a polygon
 intersects the geometry from Bauernhof
 But this does not work.

 1. I do not see an error message.
 2. What is the 0 after fence:  ?

 Regards

 uwe

 Am 10.04.2013 11:40, schrieb Rahkonen Jukka:
 Hi,

 They are helper shortcuts for adding a spatial filter into the query.
 The result will be something like select * from my_layer where geoloc
  ${view:4326}

 Thus only features intersecting the view, box drawn with the fence tool 
 or
 total extents of the selected features will be selected.
 -Jukka Rahkonen-

 Uwe Dalluege wrote:

 Hi,

 I like to describe the
 function Run Datastore Query in my
 PostGIS tutorial but I can not find
 a desciption of this.
 What are the buttons
 View, Fence and Selection good for?


 Regards

 Uwe


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Pan during editing

2013-04-15 Thread Uwe Dalluege
Hi,

how can I pan during editing?
In older OJ versions I could:

1. Start drawing a linestring.
2. Strg + pan.
3. pan
4. Mark in Editing Toolbox linestring again
an draw so on.

In the latest nightbuilds this does not work!

Do you have change something?

Uwe

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Hi,

Use shortcuts.  There has always been a shortcut for panning with  
Ctrl-Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow keys.  
See Help-Shortcuts and you will find much more.

-Jukka Rahkonen-

Uwe Dalluege 

 Hi,
 
 how can I pan during editing?
 In older OJ versions I could:
 
 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.
 
 In the latest nightbuilds this does not work!
 
 Do you have change something?
 
 Uwe
 
 --
 Precog is a next-generation analytics platform capable of advanced analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Uwe Dalluege
Hi Michaël,

your new plugin does *not* work with my lesson-example
(OJ 3505):

http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map


Uwe

Am 14.04.2013 18:18, schrieb Michaël Michaud:
 Hi Jukka, Uwe,

 In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin
 and replaced it by a much more simple plugin.

 The new one just try to zoom to the layer(s). It is not so obvious
 though as it must search for a bounding box which is in the same
 SRS as the one asked by the user for this layer, then search in the
 sub-layers, and finally in the parent layer.
 In some cases, such a bounding box is not available in the XML,
 and the plugin does not zoom to the layer. I don't think there is
 much to do about this case.

 About the old ZoomToWMS plugin (I think Uwe has been involved
 in its development), I can re-activate it if needed. In this case, I
 suggest
 that it is called get service metadata or capabilities as it gives
 information about all layers, bounding boxes and projections of the
 service, not just those from the current layer.

 Regards,

 Michaël



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Uwe Dalluege
Hi Jukka,

with shift + alt it works.
I have to change my tutorial :-(

uwe


Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with  
 Ctrl-Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow keys. 
  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 --
 Precog is a next-generation analytics platform capable of advanced analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Hi,

Take it as a big :) because your students will learn a much more efficient way 
to pan during editing.  Changing the tools from the tool box is pure waste of 
time.  Absolutely learn them also to zoom in/out with Alt-Left/right click and 
select with Ctrl-Draw a box (Ctrl-Shift adds to selection).

-Jukka-

Uwe Dalluege wrote:
 
 Hi Jukka,
 
 with shift + alt it works.
 I have to change my tutorial :-(
 
 uwe
 
 
 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
  Hi,
 
  Use shortcuts.  There has always been a shortcut for panning with  Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow keys.  See
 Help-Shortcuts and you will find much more.
 
  -Jukka Rahkonen-
 
  Uwe Dalluege
 
  Hi,
 
  how can I pan during editing?
  In older OJ versions I could:
 
  1. Start drawing a linestring.
  2. Strg + pan.
  3. pan
  4. Mark in Editing Toolbox linestring again an draw so on.
 
  In the latest nightbuilds this does not work!
 
  Do you have change something?
 
  Uwe
 
  -
  - Precog is a next-generation analytics platform capable of
  advanced analytics on semi-structured data. The platform includes
  APIs for building apps and a phenomenal toolset for data science.
  Developers can use our toolset for easy data analysis 
  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
what about the one handed and the one's who can't afford a keyboard ;) (there 
is actually a virtual one in every major os)

..ede

On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,
 
 Take it as a big :) because your students will learn a much more efficient 
 way to pan during editing.  Changing the tools from the tool box is pure 
 waste of time.  Absolutely learn them also to zoom in/out with Alt-Left/right 
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).
 
 -Jukka-
 
 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with  Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow keys.  See
 Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 -
 - Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Uwe Dalluege
Hi Jukka,

I suppose you used the Add button and not the Add All
button. Please test it with the Add All button.

With the Add button and a single WMS-Layer it works
also in my test.

Uwe


Am 15.04.2013 10:56, schrieb Rahkonen Jukka:
 Hi,

 Hi,

 That's odd. For me OpenJUMP r3505 zooms to layer norderstedt_farbig with 
 all eight combinations of WMS 1.1.1/1.3.0 and EPSG:31466/31467/31468/4326.
 What could be the difference? I am on Windows 7 with 32 bit jre 1.7.0_17 
 (Oracle).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Michaël,

 your new plugin does *not* work with my lesson-example (OJ 3505):

 http://geo.hcu-hamburg.de:8081/cgi-
 bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map


 Uwe

 Am 14.04.2013 18:18, schrieb Michaël Michaud:
 Hi Jukka, Uwe,

 In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin and
 replaced it by a much more simple plugin.

 The new one just try to zoom to the layer(s). It is not so obvious
 though as it must search for a bounding box which is in the same SRS
 as the one asked by the user for this layer, then search in the
 sub-layers, and finally in the parent layer.
 In some cases, such a bounding box is not available in the XML, and
 the plugin does not zoom to the layer. I don't think there is much to
 do about this case.

 About the old ZoomToWMS plugin (I think Uwe has been involved in its
 development), I can re-activate it if needed. In this case, I suggest
 that it is called get service metadata or capabilities as it gives
 information about all layers, bounding boxes and projections of the
 service, not just those from the current layer.

 Regards,

 Michaël


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Spatialite multigeometry trouble and JTS v. 1.13

2013-04-15 Thread edgar . soldin
well spotted.. the devil is in the details! ..ede

On 15.04.2013 08:44, Michaël Michaud wrote:
 Hi,
 
 Just compared both strings to the spec,
 
 First string follows the WKB specification
 01 endianess
 0600 MultiPolygon
 0200  Number of Polygons
 01 endianess
 0300 Polygon
 0200 Two rings
 0400 Four points
 ...
 
 Second string follows the Spatialite specification
 http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html
 01 endianess
 0600 MultiPolygon
 0200 Number of Polygons
 69 Spatialite mark starting a new Geometry
 0300 Polygon
 0200 Two Rings
 0400 Four points
 
 In spatialite geometry description, endianess is not repeated for each 
 component,
 instead, the 69 byte appears
 Probably the previous version of JTS could accomodate this because the byte
 order information is generally redundant, but a more strict parser will find
 a non authorized description for the Polygon as it does not start by the byte
 order.
 
 This means that the spatialite parser which just skipped the first bytes, then
 read the following byte stream as a wkb byte array with JTS must read each
 component as a Spatialite Geometry starting with 69.
 
 Michaël
 
 
 On Sun, Apr 14, 2013 at 3:39 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fi 
 mailto:jukka.rahko...@mmmtike.fi wrote:
 
 Hi,
 
 I made two tests:
 1) With PostGIS 2.1
 select encode(ST_AsBinary(ST_GeomFromText('MULTIPOLYGON(((0 0, 10 20, 30 
 40, 0 0), (1 1, 2 2, 3 3, 1 1)),
  ((100 100, 110 110, 120 120, 100 100)))')), 'hex')
 Query gives the same WKB that you used in JTS bug #3610843, that is
 
 010600020001030002000400244034403e4044400400f03ff03f0040004008400840f03ff03f010300010004005940594000805b4000805b405e405e4059405940
 
 2) With Spatialite
 select 
 GeomFromWKB(x'010600020069030002000400244034403E4044400400F03FF03F0040004008400840F03FF03F690300010004005940594000805B4000805B405E405E4059405940')
 Query creates a multipolygon geometry.
 
 
 Jukka,  these two WKB hex strings differ around the 20th character:
 
 010600020001030
 010600020069030
 
 The second one is the one I retrieved from spatialite.   When I try to parse 
 the second one with Postgis (1.5.3), I get an error:
 
 select 
 ST_GeomFromWkb(decode('010600020069030002000400244034403E4044400400F03FF03F0040004008400840F03FF03F690300010004005940594000805B4000805B405E405E4059405940',
  'hex'));
 ERROR:  invalid WKB type
 HINT:  You must specify a valid OGC WKT geometry type such as POINT, 
 LINESTRING or POLYGON
 
 I haven't manually verified the WKB, but it might be that spatialite is 
 generating an invalid WKB, and JTS 1.12 was more forgiving about it than 1.13 
 is.
 
   -lreeder
  
 
  
 
 Therefore it looks like the WKB is ok. But I do not understand that if 
 PostGIS gives exactly the same WKB, how it is possible that OpenJUMP works 
 with PostGIS but not with Spatialite through DB Query plugin?
 
 -Jukka Rahkonen-
 
 
 


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter


 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 

[JPP-Devel] Ideas for the next OJ versions

2013-04-15 Thread Rahkonen Jukka
Hi,

Larry wrote that his personal favorites for the improvements are

  * Increased use of layer or project SRID throughout OJ so that measurements 
are in proper values.
  * Continuation of the UI enhancements you (Ede) and others made in 1.6.

My favorites are

For OpenJUMP 1.6.2 
* WMS 1.3.0 (seems ready)
* DB Query Plugin integration (waits a fix for Spatialite multigeometries)

For OpenJUMP 1.7.0
* Plugin manager
* Improved support for imagery
* WMS GetFeatureInfo tool

For OpenJUMP 2.0
* OpenJUMP with projections
* Support for tiled image services (Google/OpenStreetMax z/x/y services, TMS, 
WMTS)
* Some new vector format for data input/output.  Shapefiles start to be 
outdated because of several reasons: 10 character limit in field names, 
timestamps are not supported, bunch of  files to hold a single layer.  Geodata 
comes more and more in formats like GML, GeoJSON and KML either as files or 
directly from services.  OpenJUMP JML is otherwise rather good but 
unfortunately no other software in the world understands it.  Something like 
Spatialite but written in Java feels like an ultimate solution but is there 
quite little activity in developing anything like that at the moment?  For 
example the last update in the Hatbox project seems to be 2011-08-27 
http://sourceforge.net/projects/hatbox/  The new format should also be 
supported by GDAL/OGR.

-Jukka Rahkonen-


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Hi, 

The best option for panning would be Left click-Drag.  It is an industrial 
standard nowadays because all the OpenLayers and Leaflet applications use that. 
And it works with one hand and without a keyboard.

-Jukka-


 what about the one handed and the one's who can't afford a keyboard ;)
 (there is actually a virtual one in every major os)
 
 ..ede
 
 On 15.04.2013 11:03, Rahkonen Jukka wrote:
  Hi,
 
  Take it as a big :) because your students will learn a much more efficient
 way to pan during editing.  Changing the tools from the tool box is pure
 waste of time.  Absolutely learn them also to zoom in/out with Alt-Left/right
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).
 
  -Jukka-
 
  Uwe Dalluege wrote:
 
  Hi Jukka,
 
  with shift + alt it works.
  I have to change my tutorial :-(
 
  uwe
 
 
  Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
  Hi,
 
  Use shortcuts.  There has always been a shortcut for panning with
  Ctrl-
  Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
  keys.  See Help-Shortcuts and you will find much more.
 
  -Jukka Rahkonen-
 
  Uwe Dalluege
 
  Hi,
 
  how can I pan during editing?
  In older OJ versions I could:
 
  1. Start drawing a linestring.
  2. Strg + pan.
  3. pan
  4. Mark in Editing Toolbox linestring again an draw so on.
 
  In the latest nightbuilds this does not work!
 
  Do you have change something?
 
  Uwe
 
  ---
  --
  - Precog is a next-generation analytics platform capable of
  advanced analytics on semi-structured data. The platform includes
  APIs for building apps and a phenomenal toolset for data science.
  Developers can use our toolset for easy data analysis 
  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  --
   Precog is a next-generation analytics platform capable of
  advanced analytics on semi-structured data. The platform includes APIs
  for building apps and a phenomenal toolset for data science.
  Developers can use our toolset for easy data analysis  visualization.
  Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 --
 Precog is a next-generation analytics platform capable of advanced analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-15 Thread edgar . soldin
ok,

#3 it is then.. 
(re)projection is a hot topic. implemented only in part it should be added 
fully first as layer and project SRID. later on with the possibility t5o 
reproject.

copy'n'paste via keyboard is the , right. the inventor of strg+c/v should 
get a nobel prize, if you'd ask me.

..ede

On 14.04.2013 16:37, Larry Reeder wrote:
 I'd opt for #3, with these items being my personal favorites:
 
   * Increased use of layer or project SRID throughout OJ so that measurements 
 are in proper values.
   * Continuation of the UI enhancements you (Ede) and others made in 1.6.   
 I'm LOVING the standard ctrl-c, ctrl-v, ctrl-z, ctrl-a shortcuts, instead of 
 the old hotkeys which I could never remember.
 
  -lreeder
 
 
 
 On Tue, Apr 9, 2013 at 8:30 AM, edgar.sol...@web.de 
 mailto:edgar.sol...@web.de wrote:
 
 On 09.04.2013 16:01, Rahkonen Jukka wrote:
  edgar soldin wrote:
 
  On 09.04.2013 15:33, Rahkonen Jukka wrote:
  Finally, the main purpose of the DBQuery plugin is to provide a
  bridge
  between OJ and spatial databases that it might not support (if
  any now), as well as provide a way to submit ad-hoc queries that
  don't have or need backing tables to return features.  While I'm
  glad my recent changes make it more useful for spatialite users,
  adding all the native libs to support spatialite
  would weigh it very heavily toward the spatialite side.   If the 
 main
  goal is to
  improve spatialite, perhaps a better approach is to build up the
  current sqlite/spatialite plugin to do so?
 
  i am no user, so i'd ask jukka. what do you think is the better
  starting point here?
  Myself I will for sure use Spatialite extension with Larry's plugin 
 but I
  consider that the plugin is pretty good as it is and I would not like 
 to pollute it
  much with extra decorations.
 
  Jukka: did you ever use the mentioned sqlite/spatialite plugin? is 
 there such
  a thing?
 
  I suppose it is this one; I have been reading about it ;)
  
 http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=OpenJUMP_with_SpatialLite#Using_SpatiaLite_with_Spatialite_Reader_Plugin
 
  Michaël has touched the plugin code a bit lately and it is almost 
 working again. It has some nice features like the possibility to test the 
 query in a table view and function list and syntax help. On my computer it is 
 suffering from the same Unknown WKB type 0 problem with multigeometries. 
 The plugin looks nice but is not as robust as DB Query plugin and it does not 
 handle empty geometries and sometimes it is very slow.  It is a good model 
 for another approach.
 
 
 question to all then
 
 so what'd you suggest. rather
 
 1. make sqlite plugin autoload spatiallite.dll and/or gdal (if possible) 
 btw. who wrote this plugin?
 2. allow the same for dbquery (it'd actually autoload if available and 
 visually hint the non-/support)
 3. don't do nothing, other topics more important :)
 
 ..ede
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
that's a problem. java has issues separating double clicks from micro drags. 
also this wouldn't work for the selection tool, which itself uses dragging for 
selecting via fence.

..ede

On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi, 
 
 The best option for panning would be Left click-Drag.  It is an industrial 
 standard nowadays because all the OpenLayers and Leaflet applications use 
 that. And it works with one hand and without a keyboard.
 
 -Jukka-
 
 
 what about the one handed and the one's who can't afford a keyboard ;)
 (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more efficient
 way to pan during editing.  Changing the tools from the tool box is pure
 waste of time.  Absolutely learn them also to zoom in/out with Alt-Left/right
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
 keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 ---
 --
 - Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
  Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes APIs
 for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis  visualization.
 Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] DBQuery integration into PLUS postponed

2013-04-15 Thread edgar . soldin
Larry,

thanks. as we have a windows now, before 1.7.0 is released. could you please 
adress the following still?

1. implement I18N support for language support?
2. send the language properties file to the developer list for translators
3. change the menu item placement to File Menu, use MenuNames.FILE

i'd vote to leave your plugin's name as it is, but rename the other one (e.g.):
Simple DB Query
PostGIS DB Query

alternatively it'd be nice if you could use the OpenWizard framework. not sure 
it that makes sense though.

..ede


On 14.04.2013 15:59, Larry Reeder wrote:
 Right, completely switched.  I updated the license and readme to indicate the 
 plugin is now licensed as GPLv3.  Also, the plugin frame is now centered on 
 the OJ workbench frame.   I uploaded release 0.8.2 to sourceforge.
 
-lreeder
 
 
 
 On Fri, Apr 12, 2013 at 3:33 AM, edgar.sol...@web.de 
 mailto:edgar.sol...@web.de wrote:
 
 On 12.04.2013 06:00, Larry Reeder wrote:
  On Thu, Apr 11, 2013 at 4:33 AM, edgar.sol...@web.de 
 mailto:edgar.sol...@web.de mailto:edgar.sol...@web.de 
 mailto:edgar.sol...@web.de wrote:
 
  just checked the latest DBQuery plugin and found the following 
 issues:
 
  1. wrong licensing under LGPL3 (see other mail)
 
 
  Addressed this- the plugin can switch to GPL3
 
 you probably mean completely switch. right? although you theoretically 
 can distribute anything under several licenses at the same time unfortunately 
 you cannot for GPL derivated code. exception being GPL2 and GPL3.
 
 ..ede
 


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
this assumes that users always want to return to a drawing tool after the first 
pan. not sure that this is a correct assumption.

..ede

On 15.04.2013 11:59, Uwe Dalluege wrote:
 Hi,
 
 what do you think about this?
 
 1. Start drawing.
 2. Click with the mouse the pan button.
 3. Pan with LeftPressed.
 4. Release the LeftButton and you can continue drawing.
 
 Is this practicable?
 
 Uwe
 
 
 Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
 that's a problem. java has issues separating double clicks from micro drags. 
 also this wouldn't work for the selection tool, which itself uses dragging 
 for selecting via fence.

 ..ede

 On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi,

 The best option for panning would be Left click-Drag.  It is an 
 industrial standard nowadays because all the OpenLayers and Leaflet 
 applications use that. And it works with one hand and without a keyboard.

 -Jukka-


 what about the one handed and the one's who can't afford a keyboard ;)
 (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more efficient
 way to pan during editing.  Changing the tools from the tool box is pure
 waste of time.  Absolutely learn them also to zoom in/out with 
 Alt-Left/right
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
 keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 ---
 -- 
 - Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
  Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes APIs
 for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis  visualization.
 Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced 
 analytics
 on semi-structured data. The platform includes APIs for building apps and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel 

Re: [JPP-Devel] Ideas for the next OJ versions

2013-04-15 Thread edgar . soldin
Jukka,

could you add your thoughts to
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=OpenJUMP_Roadmap

points reprioritized then, as time goes by.

..ede

On 15.04.2013 11:38, Rahkonen Jukka wrote:
 Hi,
 
 Larry wrote that his personal favorites for the improvements are
 
   * Increased use of layer or project SRID throughout OJ so that measurements 
 are in proper values.
   * Continuation of the UI enhancements you (Ede) and others made in 1.6.
 
 My favorites are
 
 For OpenJUMP 1.6.2 
 * WMS 1.3.0 (seems ready)
 * DB Query Plugin integration (waits a fix for Spatialite multigeometries)
 
 For OpenJUMP 1.7.0
 * Plugin manager
 * Improved support for imagery
 * WMS GetFeatureInfo tool
 
 For OpenJUMP 2.0
 * OpenJUMP with projections
 * Support for tiled image services (Google/OpenStreetMax z/x/y services, TMS, 
 WMTS)
 * Some new vector format for data input/output.  Shapefiles start to be 
 outdated because of several reasons: 10 character limit in field names, 
 timestamps are not supported, bunch of  files to hold a single layer.  
 Geodata comes more and more in formats like GML, GeoJSON and KML either as 
 files or directly from services.  OpenJUMP JML is otherwise rather good but 
 unfortunately no other software in the world understands it.  Something like 
 Spatialite but written in Java feels like an ultimate solution but is there 
 quite little activity in developing anything like that at the moment?  For 
 example the last update in the Hatbox project seems to be 2011-08-27 
 http://sourceforge.net/projects/hatbox/  The new format should also be 
 supported by GDAL/OGR.
 
 -Jukka Rahkonen-
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Uwe Dalluege
Now we differed behaviour of Pan Tool (button)
and Pan Tool (shift + alt).
Do you see a problem for the user when the Pan Tool (button)
works like shift + alt - pan-tool?

uwe


Am 15.04.2013 12:03, schrieb edgar.sol...@web.de:
 this assumes that users always want to return to a drawing tool after the 
 first pan. not sure that this is a correct assumption.

 ..ede

 On 15.04.2013 11:59, Uwe Dalluege wrote:
 Hi,

 what do you think about this?

 1. Start drawing.
 2. Click with the mouse the pan button.
 3. Pan with LeftPressed.
 4. Release the LeftButton and you can continue drawing.

 Is this practicable?

 Uwe


 Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
 that's a problem. java has issues separating double clicks from micro 
 drags. also this wouldn't work for the selection tool, which itself uses 
 dragging for selecting via fence.

 ..ede

 On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi,

 The best option for panning would be Left click-Drag.  It is an 
 industrial standard nowadays because all the OpenLayers and Leaflet 
 applications use that. And it works with one hand and without a keyboard.

 -Jukka-


 what about the one handed and the one's who can't afford a keyboard ;)
 (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more 
 efficient
 way to pan during editing.  Changing the tools from the tool box is pure
 waste of time.  Absolutely learn them also to zoom in/out with 
 Alt-Left/right
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
 keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 ---
 --
 - Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
  Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes APIs
 for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis  visualization.
 Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced 
 analytics
 on semi-structured data. The platform includes APIs for building apps and 
 a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
sorry, what do you mean? Shift+Alt simply temporarily activates the same 
PanTool, you'd activate via button. simply without interrupting drawing.

..ede

On 15.04.2013 12:20, Uwe Dalluege wrote:
 Now we differed behaviour of Pan Tool (button)
 and Pan Tool (shift + alt).
 Do you see a problem for the user when the Pan Tool (button)
 works like shift + alt - pan-tool?
 
 uwe
 
 
 Am 15.04.2013 12:03, schrieb edgar.sol...@web.de:
 this assumes that users always want to return to a drawing tool after the 
 first pan. not sure that this is a correct assumption.

 ..ede

 On 15.04.2013 11:59, Uwe Dalluege wrote:
 Hi,

 what do you think about this?

 1. Start drawing.
 2. Click with the mouse the pan button.
 3. Pan with LeftPressed.
 4. Release the LeftButton and you can continue drawing.

 Is this practicable?

 Uwe


 Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
 that's a problem. java has issues separating double clicks from micro 
 drags. also this wouldn't work for the selection tool, which itself uses 
 dragging for selecting via fence.

 ..ede

 On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi,

 The best option for panning would be Left click-Drag.  It is an 
 industrial standard nowadays because all the OpenLayers and Leaflet 
 applications use that. And it works with one hand and without a keyboard.

 -Jukka-


 what about the one handed and the one's who can't afford a keyboard ;)
 (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more 
 efficient
 way to pan during editing.  Changing the tools from the tool box is pure
 waste of time.  Absolutely learn them also to zoom in/out with 
 Alt-Left/right
 click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
 keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 ---
 -- 
 - Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
  Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes APIs
 for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis  visualization.
 Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Precog is a next-generation analytics platform capable of advanced 
 analytics
 on semi-structured data. The platform includes APIs for building apps 
 and a
 phenomenal toolset for data science. Developers can use our toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Hi,

It is about compromising and optimizing. It is also not correct to assume that 
user would never like to return to drawing tool after the first pan.

With the material I have been working with, I consider that it is a correct 
assumption in more than 95% of the cases that operator wants to add at least 
one vertex after the first pan and in this case automatic switch back to 
digitizing mode saves one mouse click. If it was not the case, the pan tool 
should be selected again which means only one click more and the situation 
would be the same than with the forced Select Pan tool - Pan - Select drawing 
tool - Draw workflow . If there is a land parcel or a road that must be 
digitized it is very uncommon to do several pans between the vertices. I think 
that Uwe's idea is reasonable.

-Jukka Rahkonen-


edgar Soldin wrote:

 this assumes that users always want to return to a drawing tool after the 
 first
 pan. not sure that this is a correct assumption.
 
 ..ede
 
 On 15.04.2013 11:59, Uwe Dalluege wrote:
  Hi,
 
  what do you think about this?
 
  1. Start drawing.
  2. Click with the mouse the pan button.
  3. Pan with LeftPressed.
  4. Release the LeftButton and you can continue drawing.
 
  Is this practicable?
 
  Uwe
 
 
  Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
  that's a problem. java has issues separating double clicks from micro
 drags. also this wouldn't work for the selection tool, which itself uses
 dragging for selecting via fence.
 
  ..ede
 
  On 15.04.2013 11:44, Rahkonen Jukka wrote:
  Hi,
 
  The best option for panning would be Left click-Drag.  It is an 
  industrial
 standard nowadays because all the OpenLayers and Leaflet applications use
 that. And it works with one hand and without a keyboard.
 
  -Jukka-
 
 
  what about the one handed and the one's who can't afford a keyboard
  ;) (there is actually a virtual one in every major os)
 
  ..ede
 
  On 15.04.2013 11:03, Rahkonen Jukka wrote:
  Hi,
 
  Take it as a big :) because your students will learn a much more
  efficient
  way to pan during editing.  Changing the tools from the tool box is
  pure waste of time.  Absolutely learn them also to zoom in/out with
  Alt-Left/right click and select with Ctrl-Draw a box (Ctrl-Shift adds to
 selection).
 
  -Jukka-
 
  Uwe Dalluege wrote:
 
  Hi Jukka,
 
  with shift + alt it works.
  I have to change my tutorial :-(
 
  uwe
 
 
  Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
  Hi,
 
  Use shortcuts.  There has always been a shortcut for panning
  with
  Ctrl-
  Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
  keys.  See Help-Shortcuts and you will find much more.
 
  -Jukka Rahkonen-
 
  Uwe Dalluege
 
  Hi,
 
  how can I pan during editing?
  In older OJ versions I could:
 
  1. Start drawing a linestring.
  2. Strg + pan.
  3. pan
  4. Mark in Editing Toolbox linestring again an draw so on.
 
  In the latest nightbuilds this does not work!
 
  Do you have change something?
 
  Uwe
 
  ---
  
  --
  - Precog is a next-generation analytics platform
  capable of advanced analytics on semi-structured data. The
  platform includes APIs for building apps and a phenomenal toolset
 for data science.
  Developers can use our toolset for easy data analysis 
  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  --
  
   Precog is a next-generation analytics platform capable of
  advanced analytics on semi-structured data. The platform includes
  APIs for building apps and a phenomenal toolset for data science.
  Developers can use our toolset for easy data analysis  visualization.
  Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
  ---
  --- Precog is a next-generation analytics platform capable
  of advanced analytics on semi-structured data. The platform
  includes APIs for building apps and a phenomenal toolset for data
  science. Developers can use our toolset for easy data analysis 
  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  
  -- Precog is a next-generation analytics platform 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
what if the screen is so small that the user has to pan multiple times to get 
where he wants?
what if the user does not want to digitize at all but simply pan around and 
just accidentally had the drawing tool activated before?

..ede

On 15.04.2013 12:30, Rahkonen Jukka wrote:
 Hi,
 
 It is about compromising and optimizing. It is also not correct to assume 
 that user would never like to return to drawing tool after the first pan.
 
 With the material I have been working with, I consider that it is a correct 
 assumption in more than 95% of the cases that operator wants to add at least 
 one vertex after the first pan and in this case automatic switch back to 
 digitizing mode saves one mouse click. If it was not the case, the pan tool 
 should be selected again which means only one click more and the situation 
 would be the same than with the forced Select Pan tool - Pan - Select 
 drawing tool - Draw workflow . If there is a land parcel or a road that must 
 be digitized it is very uncommon to do several pans between the vertices. I 
 think that Uwe's idea is reasonable.
 
 -Jukka Rahkonen-
 
 
 edgar Soldin wrote:
 
 this assumes that users always want to return to a drawing tool after the 
 first
 pan. not sure that this is a correct assumption.

 ..ede

 On 15.04.2013 11:59, Uwe Dalluege wrote:
 Hi,

 what do you think about this?

 1. Start drawing.
 2. Click with the mouse the pan button.
 3. Pan with LeftPressed.
 4. Release the LeftButton and you can continue drawing.

 Is this practicable?

 Uwe


 Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
 that's a problem. java has issues separating double clicks from micro
 drags. also this wouldn't work for the selection tool, which itself uses
 dragging for selecting via fence.

 ..ede

 On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi,

 The best option for panning would be Left click-Drag.  It is an 
 industrial
 standard nowadays because all the OpenLayers and Leaflet applications use
 that. And it works with one hand and without a keyboard.

 -Jukka-


 what about the one handed and the one's who can't afford a keyboard
 ;) (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more
 efficient
 way to pan during editing.  Changing the tools from the tool box is
 pure waste of time.  Absolutely learn them also to zoom in/out with
 Alt-Left/right click and select with Ctrl-Draw a box (Ctrl-Shift adds to
 selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning
 with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with Ctrl-Arrow
 keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 ---
 
 --
 - Precog is a next-generation analytics platform
 capable of advanced analytics on semi-structured data. The
 platform includes APIs for building apps and a phenomenal toolset
 for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 
  Precog is a next-generation analytics platform capable of
 advanced analytics on semi-structured data. The platform includes
 APIs for building apps and a phenomenal toolset for data science.
 Developers can use our toolset for easy data analysis  visualization.
 Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 ---
 --- Precog is a next-generation analytics platform capable
 of advanced analytics on semi-structured data. The platform
 includes APIs for building apps and a phenomenal toolset for data
 science. Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Check if there is at least one vertex inserted into the new feature. If not - 
pan tool stays active.

-Jukka-

 -Alkuperäinen viesti-
 Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
 Lähetetty: 15. huhtikuuta 2013 13:36
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] Pan during editing
 
 what if the screen is so small that the user has to pan multiple times to get
 where he wants?
 what if the user does not want to digitize at all but simply pan around and
 just accidentally had the drawing tool activated before?
 
 ..ede
 
 On 15.04.2013 12:30, Rahkonen Jukka wrote:
  Hi,
 
  It is about compromising and optimizing. It is also not correct to assume
 that user would never like to return to drawing tool after the first pan.
 
  With the material I have been working with, I consider that it is a correct
 assumption in more than 95% of the cases that operator wants to add at least
 one vertex after the first pan and in this case automatic switch back to
 digitizing mode saves one mouse click. If it was not the case, the pan tool
 should be selected again which means only one click more and the situation
 would be the same than with the forced Select Pan tool - Pan - Select
 drawing tool - Draw workflow . If there is a land parcel or a road that must
 be digitized it is very uncommon to do several pans between the vertices. I
 think that Uwe's idea is reasonable.
 
  -Jukka Rahkonen-
 
 
  edgar Soldin wrote:
 
  this assumes that users always want to return to a drawing tool after
  the first pan. not sure that this is a correct assumption.
 
  ..ede
 
  On 15.04.2013 11:59, Uwe Dalluege wrote:
  Hi,
 
  what do you think about this?
 
  1. Start drawing.
  2. Click with the mouse the pan button.
  3. Pan with LeftPressed.
  4. Release the LeftButton and you can continue drawing.
 
  Is this practicable?
 
  Uwe
 
 
  Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
  that's a problem. java has issues separating double clicks from
  micro
  drags. also this wouldn't work for the selection tool, which itself
  uses dragging for selecting via fence.
 
  ..ede
 
  On 15.04.2013 11:44, Rahkonen Jukka wrote:
  Hi,
 
  The best option for panning would be Left click-Drag.  It is an
  industrial
  standard nowadays because all the OpenLayers and Leaflet applications
  use that. And it works with one hand and without a keyboard.
 
  -Jukka-
 
 
  what about the one handed and the one's who can't afford a
  keyboard
  ;) (there is actually a virtual one in every major os)
 
  ..ede
 
  On 15.04.2013 11:03, Rahkonen Jukka wrote:
  Hi,
 
  Take it as a big :) because your students will learn a much more
  efficient
  way to pan during editing.  Changing the tools from the tool box
  is pure waste of time.  Absolutely learn them also to zoom in/out
  with Alt-Left/right click and select with Ctrl-Draw a box
  (Ctrl-Shift adds to
  selection).
 
  -Jukka-
 
  Uwe Dalluege wrote:
 
  Hi Jukka,
 
  with shift + alt it works.
  I have to change my tutorial :-(
 
  uwe
 
 
  Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
  Hi,
 
  Use shortcuts.  There has always been a shortcut for panning
  with
  Ctrl-
  Shift-Drag.  Now it is also possible to pan also with
  Ctrl-Arrow keys.  See Help-Shortcuts and you will find much more.
 
  -Jukka Rahkonen-
 
  Uwe Dalluege
 
  Hi,
 
  how can I pan during editing?
  In older OJ versions I could:
 
  1. Start drawing a linestring.
  2. Strg + pan.
  3. pan
  4. Mark in Editing Toolbox linestring again an draw so on.
 
  In the latest nightbuilds this does not work!
 
  Do you have change something?
 
  Uwe
 
  -
  --
  
  --
  - Precog is a next-generation analytics platform
  capable of advanced analytics on semi-structured data. The
  platform includes APIs for building apps and a phenomenal
  toolset
  for data science.
  Developers can use our toolset for easy data analysis 
  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  
  --
  
   Precog is a next-generation analytics platform capable
  of advanced analytics on semi-structured data. The platform
  includes APIs for building apps and a phenomenal toolset for data
 science.
  Developers can use our toolset for easy data analysis 
 visualization.
  Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
  -
  --
  --- Precog is a 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread edgar . soldin
you mean, check if there is an unfinished drawing? that'd be possible. but i am 
still not convinced that switching back after panning once is a good idea. the 
behaviour is intransparent to an unsuspecting user, as the tool deactivates 
itself although explicitly activated.
this might be a good advanced option, but no idea for a default behaviour.

are there any takers? i for myself am not convinced it is worth the effort. 
if not, up into the feature request tracker with it.

..ede


On 15.04.2013 12:48, Rahkonen Jukka wrote:
 Check if there is at least one vertex inserted into the new feature. If not 
 - pan tool stays active.
 
 -Jukka-
 
 -Alkuperäinen viesti-
 Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
 Lähetetty: 15. huhtikuuta 2013 13:36
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] Pan during editing

 what if the screen is so small that the user has to pan multiple times to get
 where he wants?
 what if the user does not want to digitize at all but simply pan around and
 just accidentally had the drawing tool activated before?

 ..ede

 On 15.04.2013 12:30, Rahkonen Jukka wrote:
 Hi,

 It is about compromising and optimizing. It is also not correct to assume
 that user would never like to return to drawing tool after the first pan.

 With the material I have been working with, I consider that it is a correct
 assumption in more than 95% of the cases that operator wants to add at least
 one vertex after the first pan and in this case automatic switch back to
 digitizing mode saves one mouse click. If it was not the case, the pan tool
 should be selected again which means only one click more and the situation
 would be the same than with the forced Select Pan tool - Pan - Select
 drawing tool - Draw workflow . If there is a land parcel or a road that must
 be digitized it is very uncommon to do several pans between the vertices. I
 think that Uwe's idea is reasonable.

 -Jukka Rahkonen-


 edgar Soldin wrote:

 this assumes that users always want to return to a drawing tool after
 the first pan. not sure that this is a correct assumption.

 ..ede

 On 15.04.2013 11:59, Uwe Dalluege wrote:
 Hi,

 what do you think about this?

 1. Start drawing.
 2. Click with the mouse the pan button.
 3. Pan with LeftPressed.
 4. Release the LeftButton and you can continue drawing.

 Is this practicable?

 Uwe


 Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
 that's a problem. java has issues separating double clicks from
 micro
 drags. also this wouldn't work for the selection tool, which itself
 uses dragging for selecting via fence.

 ..ede

 On 15.04.2013 11:44, Rahkonen Jukka wrote:
 Hi,

 The best option for panning would be Left click-Drag.  It is an
 industrial
 standard nowadays because all the OpenLayers and Leaflet applications
 use that. And it works with one hand and without a keyboard.

 -Jukka-


 what about the one handed and the one's who can't afford a
 keyboard
 ;) (there is actually a virtual one in every major os)

 ..ede

 On 15.04.2013 11:03, Rahkonen Jukka wrote:
 Hi,

 Take it as a big :) because your students will learn a much more
 efficient
 way to pan during editing.  Changing the tools from the tool box
 is pure waste of time.  Absolutely learn them also to zoom in/out
 with Alt-Left/right click and select with Ctrl-Draw a box
 (Ctrl-Shift adds to
 selection).

 -Jukka-

 Uwe Dalluege wrote:

 Hi Jukka,

 with shift + alt it works.
 I have to change my tutorial :-(

 uwe


 Am 15.04.2013 10:34, schrieb Rahkonen Jukka:
 Hi,

 Use shortcuts.  There has always been a shortcut for panning
 with
 Ctrl-
 Shift-Drag.  Now it is also possible to pan also with
 Ctrl-Arrow keys.  See Help-Shortcuts and you will find much more.

 -Jukka Rahkonen-

 Uwe Dalluege

 Hi,

 how can I pan during editing?
 In older OJ versions I could:

 1. Start drawing a linestring.
 2. Strg + pan.
 3. pan
 4. Mark in Editing Toolbox linestring again an draw so on.

 In the latest nightbuilds this does not work!

 Do you have change something?

 Uwe

 -
 --
 
 --
 - Precog is a next-generation analytics platform
 capable of advanced analytics on semi-structured data. The
 platform includes APIs for building apps and a phenomenal
 toolset
 for data science.
 Developers can use our toolset for easy data analysis 
 visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 
 --
 
  Precog is a next-generation analytics platform capable
 of advanced analytics on semi-structured data. The platform
 includes APIs for building apps and a phenomenal toolset for data
 science.
 Developers can use our toolset for easy 

Re: [JPP-Devel] Pan during editing

2013-04-15 Thread Rahkonen Jukka
Hi,

Yes, I was meaning check if there is an unfinished drawing.

I made some trials and tried to remember all the tools I have been using for 
digitizing. Digitizing may be fun sometimes but I have been doing it quite a 
lot and I hate doing it in an ineffective way.  Here comes my conclusions from 
power digitizers point of view.

 Digitizing is fast and fun when user does not need to move one's eyes away 
from the region of interest. After panning or zooming the user should have the 
cursor pretty close to the next vertex to be inserted and sight focused around 
there. For that panning by Click and drag is good.  Even better if can be done 
with one hand like in OpenLayers, Leaflet and Potlatch, which is the 
OpenStreetMap online editor.  However, OpenJUMP with Shift-Alt shortcut is 
equally good for panning if operator is using a normal mouse and keyboard and 
keeps mouse in the right hand.  Operator can also simply zoom in/out because 
one finger is already on the Alt key.
For my mind the second best way to pan during drawing is to use the Center to 
click tool from the context menu attached to some EZ Button.  For one hand 
operation this tool should be the upmost item in the right click menu and 
absolutely not in the submenu where it is too hard to hit.
Most part of the speed and fun is lost if operator must change tools while 
drawing large features.  For selecting the new tool user must move eyes away 
from the map and it breaks the concentration. Therefore after re-thinking I do 
not care anymore about changing automatically back to drawing mode after first 
pan.  It is an unpleasant way to digitize any way and it is indeed more logical 
for a new user it tool stays active until another tool is selected.  This is 
also how it is implemented in QGis. By the way, also the keyboard shortcuts in 
QGis are implemented so that the selected tool stays active until another one 
is selected with another shortcut or from toolbar.  Logical but a bit 
ineffective.
For new users it may be more important to be able to guess how tools should be 
used without reading manuals. Uwe may know best how the beginners feel.

Click and drag works very well in our Super zoom tool but I do not know if it 
could be used during drawing.

-Jukka-

edgar Soldin wrote:

 you mean, check if there is an unfinished drawing? that'd be possible. but i
 am still not convinced that switching back after panning once is a good idea.
 the behaviour is intransparent to an unsuspecting user, as the tool
 deactivates itself although explicitly activated.
 this might be a good advanced option, but no idea for a default behaviour.
 
 are there any takers? i for myself am not convinced it is worth the effort.
 if not, up into the feature request tracker with it.
 
 ..ede
 
 
 On 15.04.2013 12:48, Rahkonen Jukka wrote:
  Check if there is at least one vertex inserted into the new feature. If not 
  -
 pan tool stays active.
 
  -Jukka-
 
  -Alkuperäinen viesti-
  Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
  Lähetetty: 15. huhtikuuta 2013 13:36
  Vastaanottaja: OpenJump develop and use
  Aihe: Re: [JPP-Devel] Pan during editing
 
  what if the screen is so small that the user has to pan multiple
  times to get where he wants?
  what if the user does not want to digitize at all but simply pan
  around and just accidentally had the drawing tool activated before?
 
  ..ede
 
  On 15.04.2013 12:30, Rahkonen Jukka wrote:
  Hi,
 
  It is about compromising and optimizing. It is also not correct to
  assume
  that user would never like to return to drawing tool after the first pan.
 
  With the material I have been working with, I consider that it is a
  correct
  assumption in more than 95% of the cases that operator wants to add
  at least one vertex after the first pan and in this case automatic
  switch back to digitizing mode saves one mouse click. If it was not
  the case, the pan tool should be selected again which means only one
  click more and the situation would be the same than with the forced
  Select Pan tool - Pan - Select drawing tool - Draw workflow . If
  there is a land parcel or a road that must be digitized it is very
  uncommon to do several pans between the vertices. I think that Uwe's
 idea is reasonable.
 
  -Jukka Rahkonen-
 
 
  edgar Soldin wrote:
 
  this assumes that users always want to return to a drawing tool
  after the first pan. not sure that this is a correct assumption.
 
  ..ede
 
  On 15.04.2013 11:59, Uwe Dalluege wrote:
  Hi,
 
  what do you think about this?
 
  1. Start drawing.
  2. Click with the mouse the pan button.
  3. Pan with LeftPressed.
  4. Release the LeftButton and you can continue drawing.
 
  Is this practicable?
 
  Uwe
 
 
  Am 15.04.2013 11:47, schrieb edgar.sol...@web.de:
  that's a problem. java has issues separating double clicks from
  micro
  drags. also this wouldn't work for the selection tool, which itself
  uses dragging for selecting via fence.
 
  ..ede

Re: [JPP-Devel] WMS Layer / SID Layer

2013-04-15 Thread Larry Becker
HI Michaël,

  Yes, you are correct.  I believe his is not the first time changes to
WMSLayer have affected SIDLayer.  The original SIDLayer was a quick hack
that never got the refactoring it deserved.  A common abstract parent is
probably the best practice.

  However, I'm not sure why OJ still has the SIDLayer class since it was
incorporated into the last version of vividsolutions JUMP as
MrSIDReferencedImage (which is not descended from WMSLayer)..  Is there
some feature of the original class that isn't in it? The java2xml perhaps
doesn't support saving to the project as well?   I would like to test this,
but after an hour of trying I was unable to get a MRSID file to load in
OJ.  There are many different wiki pages and readme files that contradict
each other, but I couldn't get any of them to work.  I finally resorted to
debug and found the required path for the support executables, however I
got an NPE when I tried to open a SID file  at
com.vividsolutions.jump.workbench.imagery.mrsid.MrSIDReferencedImage.getEnvelope(MrSIDReferencedImage.java:98).
This is the version that doesn't depend on WMSLayer so something else is
going on, but I don't have time right now to trace it down.

The path to the executables is:   ../lib/ext/etc/  for mrsidgeodecode.exe
and mrsidgeoinfo.exe, and also a tmp folder for the tiles.

regards,

Larry

On Sun, Apr 14, 2013 at 11:34 AM, Michaël Michaud
michael.mich...@free.frwrote:

 Hi Stefan, Larry

 While updating WMS code, I've found several patches from Stefan
 about SID Layer handling.
 Seems that SIDLayer inherits from WMS Layer, hence, patches
 have been added in WMS code to exclude cases where WMS Layers
 are instances of SIDLayer.

 The design seems error prone and probably currently buggy (and
 maybe more now that I've updated the code with WMS only in
 mind).
 Maybe the model would need an abstract parent for both WMS
 and SID Layer.
 The reason of sharing is probably the common createImage()
 method, but WMSLayer has also references to the WMService
 which have nothing to do with SID Layer (AFAIK).

 Agree with that ? Any comment ?

 Regards,

 Michaël


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS Layer / SID Layer

2013-04-15 Thread edgar . soldin
is MrSid a format still in use? should we fix it? .. ede

On 15.04.2013 16:46, Larry Becker wrote:
 HI Michaël,
 
   Yes, you are correct.  I believe his is not the first time changes to 
 WMSLayer have affected SIDLayer.  The original SIDLayer was a quick hack that 
 never got the refactoring it deserved.  A common abstract parent is probably 
 the best practice. 
 
   However, I'm not sure why OJ still has the SIDLayer class since it was 
 incorporated into the last version of vividsolutions JUMP as 
 MrSIDReferencedImage (which is not descended from WMSLayer)..  Is there some 
 feature of the original class that isn't in it? The java2xml perhaps doesn't 
 support saving to the project as well?   I would like to test this, but after 
 an hour of trying I was unable to get a MRSID file to load in OJ.  There are 
 many different wiki pages and readme files that contradict each other, but I 
 couldn't get any of them to work.  I finally resorted to debug and found the 
 required path for the support executables, however I got an NPE when I tried 
 to open a SID file  at 
 com.vividsolutions.jump.workbench.imagery.mrsid.MrSIDReferencedImage.getEnvelope(MrSIDReferencedImage.java:98).
   This is the version that doesn't depend on WMSLayer so something else is 
 going on, but I don't have time right now to trace it down.
 
 The path to the executables is:   ../lib/ext/etc/  for mrsidgeodecode.exe and 
 mrsidgeoinfo.exe, and also a tmp folder for the tiles.
 
 regards,
 
 Larry
 
 On Sun, Apr 14, 2013 at 11:34 AM, Michaël Michaud michael.mich...@free.fr 
 mailto:michael.mich...@free.fr wrote:
 
 Hi Stefan, Larry
 
 While updating WMS code, I've found several patches from Stefan
 about SID Layer handling.
 Seems that SIDLayer inherits from WMS Layer, hence, patches
 have been added in WMS code to exclude cases where WMS Layers
 are instances of SIDLayer.
 
 The design seems error prone and probably currently buggy (and
 maybe more now that I've updated the code with WMS only in
 mind).
 Maybe the model would need an abstract parent for both WMS
 and SID Layer.
 The reason of sharing is probably the common createImage()
 method, but WMSLayer has also references to the WMService
 which have nothing to do with SID Layer (AFAIK).
 
 Agree with that ? Any comment ?
 
 Regards,
 
 Michaël
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Michaël Michaud
Hi,
 In some cases, such a bounding box is not available in the XML, and the
 plugin does not zoom to the layer. I don't think there is much to do about 
 this
 case.
 Perhaps there could me a short message: No BBOX for this SRS/CRS to zoom to. 
  Lon-Lat BBOX is: 
There should already be a warning, but I'm not sure in works.
Not sure the lon-lat bbox help much if the user works in a projected system,
but it should not be too hard to add.

Michaël


 -Jukka Rahkonen-

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Rahkonen Jukka
Michaël Michaud wrote:

 Hi,
 In some cases, such a bounding box is not available in the XML, and the
 plugin does not zoom to the layer. I don't think there is much to do about 
 this
 case.
 Perhaps there could me a short message: No BBOX for this SRS/CRS to zoom 
 to.  Lon-Lat BBOX is: 
 There should already be a warning, but I'm not sure in works.
 Not sure the lon-lat bbox help much if the user works in a projected system,
 but it should not be too hard to add.

Not sure if it helps either but it is the most that we can offer and sometimes, 
for some users it might be better than nothing.

-Jukka-

 Michaël


 -Jukka Rahkonen-

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Michaël Michaud

Hi,


I made some cross checks  with combinations of

-WMS 1.1.1 or WMS 1.3.0

-Mapserver 6.0 or Geoserver 2.3.0

-EPSG:4326 (native latitude-longitude), EPSG:2393 (native 
Northing-Easting), EPSG:3047 (native Northing-Easting) and EPSG:3067 
(native Easting-Northing)


I did not find any malfunctions which is amazing keeping in mind that 
this is only your second iteration round with WMS 1.3.0 and flipping 
coordinate axis.


Thanks, I could probably not achieve it efficiently without your test 
server ;-)


There is still a problem with non standard character set.
I changed from default client character set to UTF-8, but there is still
layers from some servers which are not parsed correctly.

Michaël


-Jukka Rahkonen-

Michaël Michaud wrote:

Hi,

I have committed the modifications about WMS 1.3.0 (r3505)
Thanks to Jukka's server, I could test and compare WMS 1.1.1 / WMS 1.3.0
Tell me if lat/lon problems are fixed with all your use cases.

Michaël

Hi,

Thanks for the tests.
I still not master the lat/lon lon/lat problem, but with the help
of Jukka,
it should not be a problem to fix it...

Michaël

Hi,

Reason is simple, Lon-Lat is not turned into Lat-Lon in BBOX. 
But Michaël has been doing some other not totally correct

changes which are causing troubles too. But everything is
correctable.

-Jukka-

Giuseppe Aruta wrote:

Hi Michael and Jukka
I tried with lat/lon server and I get no display

Peppe

2013/4/10 Rahkonen Jukka jukka.rahko...@mmmtike.fi
mailto:jukka.rahko...@mmmtike.fi

Hi,

May I aski f you have even tried to handle the BBOX axis
order, and if yes, in which way? WFS 1.3.0 does not work well
with Lat-Lon and Northing-Easting systems now.

-Jukka-

Michaël Michaud wrote:

 Hi Jukka, WMS users,

 I added WMS 1.3.0 support but did not commit yet.
 code is available here :
 http://geo.michaelm.free.fr/OpenJUMP/
 If it can be tested today to check I did not introduce a
severe regression, I can
 commit the code this evening.

 Note : Beside 1.3.0, I've made a few changes to bounding box
management.

 Michaël






--
 Precog is a next-generation analytics platform capable of
advanced analytics
 on semi-structured data. The platform includes APIs for
building apps and a
 phenomenal toolset for data science. Developers can use our
toolset for
 easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs
for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free
account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--

Precog is a next-generation analytics platform capable of advanced

analytics on semi-structured data. The platform includes APIs for 
building

apps and a phenomenal toolset for data science. Developers can use

our toolset for easy data analysis  visualization. Get a free account!

http://www2.precog.com/precogplatform/slashdotnewsletter




___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.net  
mailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel






--

Precog is a next-generation analytics platform capable of advanced

analytics on semi-structured data. The platform includes APIs for building

apps and a phenomenal toolset for data science. Developers can use

our toolset for easy data analysis  

Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread edgar . soldin
On 15.04.2013 19:57, Rahkonen Jukka wrote:
 Michaël Michaud wrote:
 
  Hi,
  In some cases, such a bounding box is not available in the XML, and the
  plugin does not zoom to the layer. I don't think there is much to do 
  about this
  case.
  Perhaps there could me a short message: No BBOX for this SRS/CRS to 
  zoom to.  Lon-Lat BBOX is: 
  There should already be a warning, but I'm not sure in works.
  Not sure the lon-lat bbox help much if the user works in a projected 
  system,
  but it should not be too hard to add.
 Not sure if it helps either but it is the most that we can offer and 
 sometimes, for some users it might be better than nothing.

dunno what it currently is, or what you plan - but probably should be a yellow 
warning in the statusbar. un-obstructing and copyable.. ede

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread edgar . soldin
On 15.04.2013 19:57, Michaël Michaud wrote:
 Hi,

 I made some cross checks  with combinations of

 -  WMS 1.1.1 or WMS 1.3.0

 -  Mapserver 6.0 or Geoserver 2.3.0

 -  EPSG:4326 (native latitude-longitude), EPSG:2393 (native 
 Northing-Easting), EPSG:3047 (native Northing-Easting) and EPSG:3067 (native 
 Easting-Northing)

  

 I did not find any malfunctions which is amazing keeping in mind that this 
 is only your second iteration round with WMS 1.3.0 and flipping coordinate 
 axis.

 Thanks, I could probably not achieve it efficiently without your test server 
 ;-)
 
 There is still a problem with non standard character set.
 I changed from default client character set to UTF-8, but there is still
 layers from some servers which are not parsed correctly.
 

servers usually announce the character set they answer with.. do you check the 
response headers? 
there is a nifty firefox plugin called live http headers btw.

..ede

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Michaël Michaud
Hi,

 Hi,
 I made some cross checks  with combinations of

 -  WMS 1.1.1 or WMS 1.3.0

 -  Mapserver 6.0 or Geoserver 2.3.0

 -  EPSG:4326 (native latitude-longitude), EPSG:2393 (native 
 Northing-Easting), EPSG:3047 (native Northing-Easting) and EPSG:3067 
 (native Easting-Northing)

   

 I did not find any malfunctions which is amazing keeping in mind that this 
 is only your second iteration round with WMS 1.3.0 and flipping coordinate 
 axis.

 Thanks, I could probably not achieve it efficiently without your test server 
 ;-)

 There is still a problem with non standard character set.
 I changed from default client character set to UTF-8, but there is still
 layers from some servers which are not parsed correctly.

 servers usually announce the character set they answer with.. do you check 
 the response headers?
 there is a nifty firefox plugin called live http headers btw.
Not sure if the character set I need is in the http response header or 
in the xml declaration.
I would have say in the xml, but I haven't search for it yet.

Michaël

 ..ede

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread edgar . soldin
On 15.04.2013 20:23, Michaël Michaud wrote:
 Hi,

 Hi,
 I made some cross checks  with combinations of

 -  WMS 1.1.1 or WMS 1.3.0

 -  Mapserver 6.0 or Geoserver 2.3.0

 -  EPSG:4326 (native latitude-longitude), EPSG:2393 (native 
 Northing-Easting), EPSG:3047 (native Northing-Easting) and EPSG:3067 
 (native Easting-Northing)

   

 I did not find any malfunctions which is amazing keeping in mind that this 
 is only your second iteration round with WMS 1.3.0 and flipping coordinate 
 axis.

 Thanks, I could probably not achieve it efficiently without your test 
 server ;-)

 There is still a problem with non standard character set.
 I changed from default client character set to UTF-8, but there is still
 layers from some servers which are not parsed correctly.

 servers usually announce the character set they answer with.. do you check 
 the response headers?
 there is a nifty firefox plugin called live http headers btw.
 Not sure if the character set I need is in the http response header or 
 in the xml declaration.
 I would have say in the xml, but I haven't search for it yet.
 

hmm. should be at least in the header. how are you supposed to know how to 
interpret the bytestream if you do not know the encoding ;)
if you sent me a problematic url.. i'll tell you what the header says.

..ede

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Michaël Michaud
Hi Uwe,
 your new plugin does *not* work with my lesson-example
 (OJ 3505):

 http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map
Right, I must have forgotten something, I will try to fix that.

Michaël


 Uwe

 Am 14.04.2013 18:18, schrieb Michaël Michaud:
 Hi Jukka, Uwe,

 In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin
 and replaced it by a much more simple plugin.

 The new one just try to zoom to the layer(s). It is not so obvious
 though as it must search for a bounding box which is in the same
 SRS as the one asked by the user for this layer, then search in the
 sub-layers, and finally in the parent layer.
 In some cases, such a bounding box is not available in the XML,
 and the plugin does not zoom to the layer. I don't think there is
 much to do about this case.

 About the old ZoomToWMS plugin (I think Uwe has been involved
 in its development), I can re-activate it if needed. In this case, I
 suggest
 that it is called get service metadata or capabilities as it gives
 information about all layers, bounding boxes and projections of the
 service, not just those from the current layer.

 Regards,

 Michaël


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Rahkonen Jukka
edgar soldin wrote:




 servers usually announce the character set they answer with.. do you check 
 the response headers?
 there is a nifty firefox plugin called live http headers btw.
 Not sure if the character set I need is in the http response header or
 in the xml declaration.
 I would have say in the xml, but I haven't search for it yet.


 hmm. should be at least in the header. how are you supposed to know how to 
 interpret the bytestream if you do not know the encoding ;)
 if you sent me a problematic url.. i'll tell you what the header says.

Situation with WMS servers is unfortunately not very good and they do not all 
behave in a similar way. Right now I could check only Mapserver 6.0 with the 
Finnish default Windows settings.  Headers say  
Content-Type: text/xml (WMS 1.3.0) or 
Content-Type: application/vnd.ogc.wms_xml (WMS 1.1.1).  

For both versions the XML document starts as
?xml version='1.0' encoding=ISO-8859-1 



-Jukka-



..ede

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OpenJUMP 1.6.1 released

2013-04-15 Thread Giuseppe Aruta
Heilà!
I am travelling for work and have been out of interbnet for soem days.
Today I discovered new good news.
Thank you Ede and thanks to all members for this new step on OpenJUMP
development
I am going to test OpenJUMP 1.6/1.6.1 when I willbe back in Bologna.
Regards

Peppe
2013/4/12 Michaël Michaud michael.mich...@free.fr

 Thanks for all Ede,

 Good job,

 Michaël
   I just released OpenJUMP 1.6.1, which contains a critical fix for Mac
 and Linux users. Putting it plainly, OJ will start properly again.
  http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.6.1/
 
  Sorry for the inconvenience ..ede
 
 
  Changes since 1.6.0:
 
  Bug Fix
 * hotfix a NPE which prevented starting properly on Mac and sometimes
 Linux
 
 
 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for
 building
  apps and a phenomenal toolset for data science. Developers can use
  our toolset for easy data analysis  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 



 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS Layer / SID Layer

2013-04-15 Thread edgar . soldin
what exactly do you suggest? complete removal, copypaste ;) sky jump's 
solution?.. ede

On 15.04.2013 21:20, Larry Becker wrote:
 OK, I've located the problem that was causing the NPE.  The MRSID executables 
 now depend on the geos.dll (C++ port of the Java Topology Suite) which must 
 be located in the same directory.  MRSID files now work fine, although not as 
 well as in SkyJUMP. ;-)  (SkyJUMP has added a simple plugin called EditMrSID 
 which allows adjustment of dynamic range and transparancy.)  I can't see a 
 reason to keep the SIDLayer class.  Does anyone else?
 
 Larry
 
 
 
 On Mon, Apr 15, 2013 at 10:10 AM, edgar.sol...@web.de 
 mailto:edgar.sol...@web.de wrote:
 
 is MrSid a format still in use? should we fix it? .. ede
 
 On 15.04.2013 16:46, Larry Becker wrote:
  HI Michaël,
 
Yes, you are correct.  I believe his is not the first time changes to 
 WMSLayer have affected SIDLayer.  The original SIDLayer was a quick hack that 
 never got the refactoring it deserved.  A common abstract parent is probably 
 the best practice.
 
However, I'm not sure why OJ still has the SIDLayer class since it 
 was incorporated into the last version of vividsolutions JUMP as 
 MrSIDReferencedImage (which is not descended from WMSLayer)..  Is there some 
 feature of the original class that isn't in it? The java2xml perhaps doesn't 
 support saving to the project as well?   I would like to test this, but after 
 an hour of trying I was unable to get a MRSID file to load in OJ.  There are 
 many different wiki pages and readme files that contradict each other, but I 
 couldn't get any of them to work.  I finally resorted to debug and found the 
 required path for the support executables, however I got an NPE when I tried 
 to open a SID file  at 
 com.vividsolutions.jump.workbench.imagery.mrsid.MrSIDReferencedImage.getEnvelope(MrSIDReferencedImage.java:98).
   This is the version that doesn't depend on WMSLayer so something else is 
 going on, but I don't have time right now to trace it down.
 
  The path to the executables is:   ../lib/ext/etc/  for 
 mrsidgeodecode.exe and mrsidgeoinfo.exe, and also a tmp folder for the tiles.
 
  regards,
 
  Larry
 
  On Sun, Apr 14, 2013 at 11:34 AM, Michaël Michaud 
 michael.mich...@free.fr mailto:michael.mich...@free.fr 
 mailto:michael.mich...@free.fr mailto:michael.mich...@free.fr wrote:
 
  Hi Stefan, Larry
 
  While updating WMS code, I've found several patches from Stefan
  about SID Layer handling.
  Seems that SIDLayer inherits from WMS Layer, hence, patches
  have been added in WMS code to exclude cases where WMS Layers
  are instances of SIDLayer.
 
  The design seems error prone and probably currently buggy (and
  maybe more now that I've updated the code with WMS only in
  mind).
  Maybe the model would need an abstract parent for both WMS
  and SID Layer.
  The reason of sharing is probably the common createImage()
  method, but WMSLayer has also references to the WMService
  which have nothing to do with SID Layer (AFAIK).
 
  Agree with that ? Any comment ?
 
  Regards,
 
  Michaël
 
  
 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for 
 building
  apps and a phenomenal toolset for data science. Developers can use
  our toolset for easy data analysis  visualization. Get a free 
 account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
  
 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for 
 building
  apps and a phenomenal toolset for data science. Developers can use
  our toolset for easy data analysis  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
 
 
 
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 

Re: [JPP-Devel] WMS Layer / SID Layer

2013-04-15 Thread Michaël Michaud

Hi Larry,
OK, I've located the problem that was causing the NPE.  The MRSID 
executables now depend on the geos.dll (C++ port of the Java Topology 
Suite) which must be located in the same directory.  MRSID files now 
work fine, although not as well as in SkyJUMP. ;-)  (SkyJUMP has added 
a simple plugin called EditMrSID which allows adjustment of dynamic 
range and transparancy.)  I can't see a reason to keep the SIDLayer 
class.  Does anyone else?

Thanks a lot,

I hadn't even caught that SIDLayer was deprecated in favour of 
MrSIDReferencedImage.
Probably the reason why Stefan removed some references to SID Layers in 
WMSLayer code.


SIDLayer has probably to be removed then.

On Mon, Apr 15, 2013 at 10:10 AM, edgar.sol...@web.de 
mailto:edgar.sol...@web.de wrote:


is MrSid a format still in use? should we fix it? .. ede

Don't now. I personnaly do not wish to spend time to support this 
format, but if we (Larry) can
keep it working without too much effort, maybe some users will be happy 
to have it.


Michaël



On 15.04.2013 16:46, Larry Becker wrote:
 HI Michaël,

   Yes, you are correct.  I believe his is not the first time
changes to WMSLayer have affected SIDLayer.  The original SIDLayer
was a quick hack that never got the refactoring it deserved.  A
common abstract parent is probably the best practice.

   However, I'm not sure why OJ still has the SIDLayer class
since it was incorporated into the last version of vividsolutions
JUMP as MrSIDReferencedImage (which is not descended from
WMSLayer)..  Is there some feature of the original class that
isn't in it? The java2xml perhaps doesn't support saving to the
project as well?   I would like to test this, but after an hour of
trying I was unable to get a MRSID file to load in OJ.  There are
many different wiki pages and readme files that contradict each
other, but I couldn't get any of them to work.  I finally resorted
to debug and found the required path for the support executables,
however I got an NPE when I tried to open a SID file  at

com.vividsolutions.jump.workbench.imagery.mrsid.MrSIDReferencedImage.getEnvelope(MrSIDReferencedImage.java:98).
 This is the version that doesn't depend on WMSLayer so something
else is going on, but I don't have time right now to trace it down.

 The path to the executables is:   ../lib/ext/etc/  for
mrsidgeodecode.exe and mrsidgeoinfo.exe, and also a tmp folder for
the tiles.

 regards,

 Larry

 On Sun, Apr 14, 2013 at 11:34 AM, Michaël Michaud
michael.mich...@free.fr mailto:michael.mich...@free.fr
mailto:michael.mich...@free.fr mailto:michael.mich...@free.fr
wrote:

 Hi Stefan, Larry

 While updating WMS code, I've found several patches from Stefan
 about SID Layer handling.
 Seems that SIDLayer inherits from WMS Layer, hence, patches
 have been added in WMS code to exclude cases where WMS Layers
 are instances of SIDLayer.

 The design seems error prone and probably currently buggy (and
 maybe more now that I've updated the code with WMS only in
 mind).
 Maybe the model would need an abstract parent for both WMS
 and SID Layer.
 The reason of sharing is probably the common createImage()
 method, but WMSLayer has also references to the WMService
 which have nothing to do with SID Layer (AFAIK).

 Agree with that ? Any comment ?

 Regards,

 Michaël



--
 Precog is a next-generation analytics platform capable of
advanced
 analytics on semi-structured data. The platform includes
APIs for building
 apps and a phenomenal toolset for data science. Developers
can use
 our toolset for easy data analysis  visualization. Get a
free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel






--
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs
for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free
account!
 http://www2.precog.com/precogplatform/slashdotnewsletter



 

Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Michaël Michaud
Hi,
 servers usually announce the character set they answer with.. do you check 
 the response headers?
 there is a nifty firefox plugin called live http headers btw.
 Not sure if the character set I need is in the http response header or
 in the xml declaration.
 I would have say in the xml, but I haven't search for it yet.
 hmm. should be at least in the header. how are you supposed to know how to 
 interpret the bytestream if you do not know the encoding ;)
 if you sent me a problematic url.. i'll tell you what the header says.
In the adress given by Uwe, for example, last layer name is not parsed 
correctly, but I could not find a way
to get a valid answer in the browser if I pass Uwe's url + 
SERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities
 Situation with WMS servers is unfortunately not very good and they do not all 
 behave in a similar way. Right now I could check only Mapserver 6.0 with the 
 Finnish default Windows settings.  Headers say
 Content-Type: text/xml (WMS 1.3.0) or
 Content-Type: application/vnd.ogc.wms_xml (WMS 1.1.1).

 For both versions the XML document starts as
 ?xml version='1.0' encoding=ISO-8859-1
In this case, I suppose that parsing the xml document as ISO-8859-1 should
do the trick.
have to check if DOMParser can be configured to be encoding aware.

Michaël



 -Jukka-



 ..ede

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread edgar . soldin
On 15.04.2013 21:53, Michaël Michaud wrote:
 servers usually announce the character set they answer with.. do you check 
 the response headers?
  there is a nifty firefox plugin called live http headers btw.
  Not sure if the character set I need is in the http response header or
  in the xml declaration.
  I would have say in the xml, but I haven't search for it yet.
  hmm. should be at least in the header. how are you supposed to know how 
  to interpret the bytestream if you do not know the encoding ;)
  if you sent me a problematic url.. i'll tell you what the header says.
 In the adress given by Uwe, for example, last layer name is not parsed 
 correctly, but I could not find a way
 to get a valid answer in the browser if I pass Uwe's url + 
 SERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities

try without VERSION=1.1.1 .. seems to work this way. ..ede


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Rahkonen Jukka
Michaël Michaud wrote:

 In the adress given by Uwe, for example, last layer name is not parsed
 correctly, but I could not find a way
 to get a valid answer in the browser if I pass Uwe's url +
 SERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities

I see that you have not yet worked a lot with WMS.
The WMS 1.x standard says that the MIME type of GetCapabilities is 
application/vnd.ogc.wms_xml
That is not known by browsers and therefore the XML content does not show but 
browser wants to save the result on a disk. Save is and open with text editor 
and you will do fine. Sometimes the suggested file name is for example 
mapserv.exe which may feel odd. It is still plain text.

-Jukka-


 Situation with WMS servers is unfortunately not very good and they do not all 
 behave in a similar way. Right now I could check only Mapserver 6.0 with the 
 Finnish default Windows settings.  Headers say
 Content-Type: text/xml (WMS 1.3.0) or
 Content-Type: application/vnd.ogc.wms_xml (WMS 1.1.1).

 For both versions the XML document starts as
 ?xml version='1.0' encoding=ISO-8859-1
In this case, I suppose that parsing the xml document as ISO-8859-1 should
do the trick.
have to check if DOMParser can be configured to be encoding aware.

Michaël



 -Jukka-



 ..ede

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Rahkonen Jukka
Hi,

Some quick tests:
- GeoWebCache 1.4 in WMS mode has charset=UTF-8 in the headers and 
encoding=UTF-8 in XML.
- GeoServer 2.2.x does not have charser in the headers but does have encoding 
in XML.
- ArcGIS Server x.x does not have charser in the headers but does have encoding 
in XML.
- Mapsserver 6.0 does not have charser in the headers but does have encoding in 
XML.

I could not find any deegree WMS server right now. Anyway, this sample suggests 
that first thing to look would be the XML encoding because headers tend to miss 
the charset.

-Jukka Rahkonen-
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ZoomToWMS

2013-04-15 Thread Michaël Michaud
Hi,
 your new plugin does *not* work with my lesson-example
 (OJ 3505):

 http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map
 Right, I must have forgotten something, I will try to fix that.
Should be fixed in r 3507

Michaël

 Michaël

 Uwe

 Am 14.04.2013 18:18, schrieb Michaël Michaud:
 Hi Jukka, Uwe,

 In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin
 and replaced it by a much more simple plugin.

 The new one just try to zoom to the layer(s). It is not so obvious
 though as it must search for a bounding box which is in the same
 SRS as the one asked by the user for this layer, then search in the
 sub-layers, and finally in the parent layer.
 In some cases, such a bounding box is not available in the XML,
 and the plugin does not zoom to the layer. I don't think there is
 much to do about this case.

 About the old ZoomToWMS plugin (I think Uwe has been involved
 in its development), I can re-activate it if needed. In this case, I
 suggest
 that it is called get service metadata or capabilities as it gives
 information about all layers, bounding boxes and projections of the
 service, not just those from the current layer.

 Regards,

 Michaël

 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS 1.3

2013-04-15 Thread Michaël Michaud
Thanks for the survey,

Hopefully, the problem is fixed (r3508).
I now pass the InputStream (byte stream) to the DomParser instead of an 
InputStreamReader.
This way, I let the DomParser read the appropriate encoding and parse 
the xml file correctly.
At least I hope so (have tested on Uwe's url and two or three french WMS)

Michaël
 Hi,

 Some quick tests:
 - GeoWebCache 1.4 in WMS mode has charset=UTF-8 in the headers and 
 encoding=UTF-8 in XML.
 - GeoServer 2.2.x does not have charser in the headers but does have encoding 
 in XML.
 - ArcGIS Server x.x does not have charser in the headers but does have 
 encoding in XML.
 - Mapsserver 6.0 does not have charser in the headers but does have encoding 
 in XML.

 I could not find any deegree WMS server right now. Anyway, this sample 
 suggests that first thing to look would be the XML encoding because headers 
 tend to miss the charset.

 -Jukka Rahkonen-
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-15 Thread Michaël Michaud
Hi Uwe,

 I have tested it again with the lates nightbuild
 (20130414 rev.3505) but I get no errormessage
 like you.
 Do you tested it with JRE 1.7.0_17?

 Do you know which class is resposible for the error-message?

This is WorkbenchFrame,

Here is the diff from March 21th which fixed the problem (or was suposed 
to fix)
http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java?sortby=dater1=3323r2=3393pathrev=3393

Michaël


 Uwe


 Am 11.04.2013 20:27, schrieb Michaël Michaud:
 Hi,
 With OJ rev. 3459
 and W7 (64 bit) I do not
 see errors or exceptions.
 There is no dialog window or a message
 in the status-line.

 I tested  Run Datastore Query
 with this simple query:

 select * from xyz

 The table xyz does not exists in my database!
 But there is no error-message.
 With a more recent version, I get the following :



 Michaël
 Uwe


 Inside the fence there is a polygon
 intersects the geometry from Bauernhof
 But this does not work.

 1. I do not see an error message.
 2. What is the 0 after fence:  ?

 Regards

 uwe

 Am 10.04.2013 11:40, schrieb Rahkonen Jukka:
 Hi,

 They are helper shortcuts for adding a spatial filter into the 
 query.
 The result will be something like select * from my_layer where 
 geoloc
  ${view:4326}

 Thus only features intersecting the view, box drawn with the 
 fence tool or
 total extents of the selected features will be selected.
 -Jukka Rahkonen-

 Uwe Dalluege wrote:

 Hi,

 I like to describe the
 function Run Datastore Query in my
 PostGIS tutorial but I can not find
 a desciption of this.
 What are the buttons
 View, Fence and Selection good for?


 Regards

 Uwe





--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS Layer / SID Layer

2013-04-15 Thread Larry Becker
The main task to keep it working is maintaining the command line parameters
to support the latest version of the MRSIDS utilities.  I'll be doing that
for SkyJUMP so it is a simple matter to keep OJ up to date too.  MRSID,
ECW,  and ArcSDE are OpenJump's gateway to the non-free GIS world.  Some of
us are still tied to the commercial and government sector.

regards,

Larry

On Mon, Apr 15, 2013 at 2:47 PM, Michaël Michaud michael.mich...@free.frwrote:

  Hi Larry,

 OK, I've located the problem that was causing the NPE.  The MRSID
 executables now depend on the geos.dll (C++ port of the Java Topology
 Suite) which must be located in the same directory.  MRSID files now work
 fine, although not as well as in SkyJUMP. ;-)  (SkyJUMP has added a simple
 plugin called EditMrSID which allows adjustment of dynamic range and
 transparancy.)  I can't see a reason to keep the SIDLayer class.  Does
 anyone else?

 Thanks a lot,

 I hadn't even caught that SIDLayer was deprecated in favour of
 MrSIDReferencedImage.
 Probably the reason why Stefan removed some references to SID Layers in
 WMSLayer code.

 SIDLayer has probably to be removed then.

 On Mon, Apr 15, 2013 at 10:10 AM, edgar.sol...@web.de wrote:

 is MrSid a format still in use? should we fix it? .. ede

  Don't now. I personnaly do not wish to spend time to support this
 format, but if we (Larry) can
 keep it working without too much effort, maybe some users will be happy to
 have it.

 Michaël


 On 15.04.2013 16:46, Larry Becker wrote:
  HI Michaël,
 
Yes, you are correct.  I believe his is not the first time changes to
 WMSLayer have affected SIDLayer.  The original SIDLayer was a quick hack
 that never got the refactoring it deserved.  A common abstract parent is
 probably the best practice.
 
However, I'm not sure why OJ still has the SIDLayer class since it
 was incorporated into the last version of vividsolutions JUMP as
 MrSIDReferencedImage (which is not descended from WMSLayer)..  Is there
 some feature of the original class that isn't in it? The java2xml perhaps
 doesn't support saving to the project as well?   I would like to test this,
 but after an hour of trying I was unable to get a MRSID file to load in OJ.
  There are many different wiki pages and readme files that contradict each
 other, but I couldn't get any of them to work.  I finally resorted to debug
 and found the required path for the support executables, however I got an
 NPE when I tried to open a SID file  at
 com.vividsolutions.jump.workbench.imagery.mrsid.MrSIDReferencedImage.getEnvelope(MrSIDReferencedImage.java:98).
  This is the version that doesn't depend on WMSLayer so something else is
 going on, but I don't have time right now to trace it down.
 
  The path to the executables is:   ../lib/ext/etc/  for
 mrsidgeodecode.exe and mrsidgeoinfo.exe, and also a tmp folder for the
 tiles.
 
  regards,
 
  Larry
 
   On Sun, Apr 14, 2013 at 11:34 AM, Michaël Michaud 
 michael.mich...@free.fr mailto:michael.mich...@free.fr wrote:
 
  Hi Stefan, Larry
 
  While updating WMS code, I've found several patches from Stefan
  about SID Layer handling.
  Seems that SIDLayer inherits from WMS Layer, hence, patches
  have been added in WMS code to exclude cases where WMS Layers
  are instances of SIDLayer.
 
  The design seems error prone and probably currently buggy (and
  maybe more now that I've updated the code with WMS only in
  mind).
  Maybe the model would need an abstract parent for both WMS
  and SID Layer.
  The reason of sharing is probably the common createImage()
  method, but WMSLayer has also references to the WMService
  which have nothing to do with SID Layer (AFAIK).
 
  Agree with that ? Any comment ?
 
  Regards,
 
  Michaël
 
 
 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for
 building
  apps and a phenomenal toolset for data science. Developers can use
  our toolset for easy data analysis  visualization. Get a free
 account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
  ___
  Jump-pilot-devel mailing list
   Jump-pilot-devel@lists.sourceforge.net mailto:
 Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
  
 
 
 
 
 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for
 building
  apps and a phenomenal toolset for data science. Developers can use
  our toolset for easy data analysis  visualization. Get a free account!
  http://www2.precog.com/precogplatform/slashdotnewsletter
 
 
 
  

[JPP-Devel] OpenJUMP and Inspire

2013-04-15 Thread Michaël Michaud
Hi,

I've been asked by my employer (the french NMA) how much
OpenJUMP takes or will take INSPIRE directive into account.

My feeling is that OpenJUMP will not be strongly involved into
Inspire directive before long as there has never been interest
shown on the list, but who knows, some of you maybe involved
in Inspire implementation and are greatly interested in taking
better account the directive into OpenJUMP.

Michaël





--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel