Re: [JPP-Devel] Spatialite reader plugin problem

2013-03-15 Thread Michaël Michaud
Hi,
 In this case, it could be related to the folowing change :

 2011-04-01 lreeder
   * Updated WKBGeometryValueConverter to handle geometry types
 represented
 by WKB hex string so that ST_AsBinary is optional
 This change only affected PostgisValueConverterFactory.java so I don't
 think it broke Spatialite unless the Spatialite plugin is using a
 Postgis class.  At a glance it doesn't seem to be using
 PostgisValueConverterFactory.
OK, thanks for explanation.
By the way, I use Run Datastore Query nearly every day, and
the improvement which makes the use of ST_AsBinary optional
was a great one for OpenJUMP :-)

Michaël

-lreeder

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] RenderingManager modes in skyjump

2013-03-15 Thread Rahkonen Jukka
Hi,

If you have your hands dirty already I would suggest to make some preparations 
for making it easier to write geospatial PDF files in the future.  The 
essential  thing to do is to capture the envelope of a map as polygon WKT and 
store is somewhere.  For example it could be saved into a plain text file that 
uses the same filename base output_map_2013_03_15_neatline.txt  Saving also 
the SRID would be a good addition but then you should ask user to give it 
because OpenJUMP is not projection aware.  I will show later an example about 
how this into can be utilized.

If we are saving some metadata then perhaps there could be an option to save 
also other metadata that can  be embedded into PDF file.  GDAL PDF driver page 
http://www.gdal.org/frmt_pdf.html is listing these metadata items: AUTHOR, 
CREATOR, CREATION_DATE, KEYWORDS, PRODUCER, SUBJECT, TITLE
Usage example:
AUTHOR=Jukka Rahkonen http://latuviitta.org;
CREATOR=SkyJUMP/OpenJUMP PDF Writer
CREATION_DATE=D:20121122132447+02'00'
KEYWORDS=OpenJUMP, MAP
PRODUCER=name of the PDF library
SUBJECT=Some subject
TITLE=OpenJUMP PDF Map

The date format is D:MMDDHHmmSSOHH'mm'
For 22 nov 2012 13:24:47 GMT+02:
D:20121122132447+02'00'

These metadata could also be stored into text file for the future needs but I 
guess that PDF libraries can also write them directly into PDF file.  This page 
shows how some software is doing it and what it the result 
http://www.verypdf.com/pdfinfoeditor/pdf-metadata.html

And here comes an example how the neatline metadata can be used in 
post-processing.

First I created a PDF map from a non georeferenced tiff image with 
gdal_translate as
gdal_translate -of PDF base.tif base.pdf

We can imagine this PDF came from OpenJUMP PDF Writer. Then I draw a polygon 
and captured the  WKT  and I decided that the SRID is EPSG:4326. The following  
command converts the base.pdf file into geospatial PDF

gdal_translate -of PDF -a_srs epsg:4326 -co NEATLINE POLYGON ((21.2660
557 42.01149896236421, 21.2660557 42.020383, 21.278203573003132 
42.020383, 2
1.278203573003132 42.01149896236421, 21.2660557 42.01149896236421)) 
base.pdf geospat.pdf

Gdalinfo about geospat.pdf confirms that it is location aware now

gdalinfo geospat.pdf
Driver: PDF/Geospatial PDF
Files: geospat.pdf
Size is 537, 393
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0,
AUTHORITY[EPSG,8901]],
UNIT[degree,0.0174532925199433,
AUTHORITY[EPSG,9122]],
AUTHORITY[EPSG,4326]]
Origin = (21.2660546,42.02038333299)
Pixel Size = (0.22664211656,-0.22664211656)
Metadata:
  DPI=72
  NEATLINE=POLYGON ((21.2660557 42.0203828,21.2660557 
42.0114989623642,21.27
8203573003125 42.0114989623642,21.278203573003125 
42.0203828,21.2660557 42.02038
28))
Corner Coordinates:
Upper Left  (  21.2660556,  42.0203833) ( 21d15'57.80E, 42d 1'13.38N)
Lower Left  (  21.2660556,  42.0114763) ( 21d15'57.80E, 42d 0'41.31N)
Upper Right (  21.2782262,  42.0203833) ( 21d16'41.61E, 42d 1'13.38N)
Lower Right (  21.2782262,  42.0114763) ( 21d16'41.61E, 42d 0'41.31N)
Center  (  21.2721409,  42.0159298) ( 21d16'19.71E, 42d 0'57.35N)
Band 1 Block=537x1 Type=Byte, ColorInterp=Red
Band 2 Block=537x1 Type=Byte, ColorInterp=Green
Band 3 Block=537x1 Type=Byte, ColorInterp=Blue

This example should be taken as a demonstration which shows that it is possible 
to add georeferencing afterwards but not as an instruction about how to do is.  
Gdal_translate as used in the example is not the right tool because it is 
rasterizing PDF vectors in PDF to PDF conversion which is not desired.

-Jukka Rahkonen-




Michaël Michaud wrote:

Hi Larry,

All that makes sense.
Thanks for the detailed answers to my last question and to the few next ones ;-)
I'll keep them preciously as diving in the rendering pipeline is always a 
challenge for me.

By the way, I already could print to pdf with your printer + openjump, but I'd 
to
deactivate a few lines as I did not update RendererManager yet.

Michaël
Hi Michaël,

  Thanks for starting this effort.  I'll try to answer your questions as best I 
can.  When I wrote this code four years ago, I was immersed in printer lore 
that I have mostly forgotten.  Here are a few things that I can recall: (excuse 
my lecture tone, I know you are very knowledgeable on the subject of rendering)

1.  Rendering for interactive display has completely different goals than 
rendering for printing.  It is mostly an issue of responsiveness vs. quality.  
The JUMP render architecture, as you well know, has excellent responsiveness 
and an especially quick redraw capability thanks to per-layer double buffering. 
 In this aspect it far outperforms ArcMap and many other GIS programs.  While 
this is a positive for interactive use, it is a 

Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
hello Geoffrey,
yes i did it but i still have problem with that.
i downloaded the src, i created a new project jumpPrinter and import it
on it.
i added the printer jar to my OJ project, and the other jars
(batik-all.jar, xml-apis-ext.jar, xml-apis.jar, js.jar, pdf-transcoder.jar)
i changed this line in the build proprieties
:openjumplib=D:/workspaceJump/OJ/${lib}/
i Did all the instruction ( in install.txt and readme.txt ), but when am
trying to build am getting errors about jars non existing, even if i do
have them on my lib folder, and another thing when i try to open an
localize the error, i don't see any error on the class !.
Plz if you have a very detailed guide for that send it to me.
thanks in advance.

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Change the color of the selected feature

2013-03-15 Thread Asma ouqalli
Hi Rahkonen,
Thanks for the explanation, i tried the paint method and it worked, the
Basic Style uses also this method.
thanks a lot

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Add image layer WAS: [openjump-users] Open File / Open Project

2013-03-15 Thread edgar . soldin
move it over to jump-devel.

true, the OJ image loader works that way.

a am not sure about your catalog idea though as i feel, creating a image 
collection layer once and saving it with the project should be sufficient for 
most use cases.

i think:
A. we should place the image layer manager more prominently for users to 
discover this mechanism (higher in layer context menu, add to layer menu).
B. replace the image layer icon with a multiple images icon

..ede


On 15.03.2013 10:14, Jukka Rahkonen wrote:
 Hi,
 
 Add image layer is much more than another name for Open image file but
 nobody knows it and the image layer system has never been programmed
 ready. Read http://latuviitta.org/documents/OpenJUMP_image_layer_tool.pdf
 
 Add Image Layer opens an image file but it also creates an image catalogue
 which can hold many images. This image layer can also be saved as a vector
 layer in Jump JML format but there is no way to open such saved image
 catalogue because there is not such an option in anywhere in the user
 interface. Only way to utilize the saved image layer is to save also the
 project.
 
 Logical places for the Open Image Catalog operation would be through a
 new button in Image Layer Manager tool and in the open Wizard as a new
 file type Image Catalog. It should be handled in a special way because
 it is actually a vector file but users to not want to see the footprint
 polygons but the mapped images.
 
 -Jukka Rahkonen-
 
 edgar.sol...@web.de wrote:
 On 14.03.2013 21:36, Stefan Steiniger wrote:

 About removing File Open File, well, having it there is fine with me,
 even if it is redundant.

 open project and open file are the essential open mechanisms and belong
 under File main menu entry. this is where users are used to find it (in
 software generally) and expect it!

 add image layer is merely there because nobody found the time to write an
 openwizard for it.

 ..ede

 --
 -- You received this message because you are subscribed to the Google
 Groups openjump-users group. To post to this group, send email to
 openjump-us...@googlegroups.com. To unsubscribe from this group, send
 email to openjump-users+unsubscr...@googlegroups.com. For more options,
 visit this group at https://groups.google.com/d/forum/openjump-users?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 openjump-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to openjump-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



 
 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Geoffrey Roy

Dear Asma

To use the Printer plugin you only need to drop the JumpPrinter. jar 
file into the OpenJump ../lib/ext/ folder.  You will also need the 
VertexSymbols.jar file and the iTextnnn.jar file, all of which can be 
down loaded from www.cadplan.com.au.


These are plugins - they can be used without making any adaptions to the 
core OpenJump packages.


Please try again

Geoff



On 15/03/2013 5:28 PM, Asma ouqalli wrote:

hello Geoffrey,
yes i did it but i still have problem with that.
i downloaded the src, i created a new project jumpPrinter and import 
it on it.
i added the printer jar to my OJ project, and the other jars 
(batik-all.jar, xml-apis-ext.jar, xml-apis.jar, js.jar, pdf-transcoder.jar)
i changed this line in the build proprieties 
:openjumplib=D:/workspaceJump/OJ/${lib}/
i Did all the instruction ( in install.txt and readme.txt ), but when 
am trying to build am getting errors about jars non existing, even if 
i do have them on my lib folder, and another thing when i try to open 
an localize the error, i don't see any error on the class !.

Plz if you have a very detailed guide for that send it to me.
thanks in advance.

--
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com mailto:asma.ouqa...@gmail.com



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


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


--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Mob: 04000 31298
Email: ge...@cadplan.com.au
http://www.cadplan.com.au

 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
Hello Geoffrey,
Yes i know, but i want the code src too, so as to adapt it to my case.
i want to do it automatically, not each time i have to write the head and
upload icons.
i hope u get what i want to do.
best regards.

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Geoffrey Roy

Dear Asama

OK, but I can only help you with PrintPlugin specific issues.  You have 
the src, so you can make any changes you like.


Geoff


On 15/03/2013 6:01 PM, Asma ouqalli wrote:

Hello Geoffrey,
Yes i know, but i want the code src too, so as to adapt it to my case.
i want to do it automatically, not each time i have to write the head 
and upload icons.

i hope u get what i want to do.
best regards.

--
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com mailto:asma.ouqa...@gmail.com



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


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


--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Mob: 04000 31298
Email: ge...@cadplan.com.au
http://www.cadplan.com.au

 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Add image layer WAS: [openjump-users] Open File / Open Project

2013-03-15 Thread Rahkonen Jukka
Hi,

It feels a bit odd that it is not possible to re-use existing image layers 
stored into JML format in other projects simply by opening the catalog file 
from user interface.  I am doing similar things pretty often with Quantum GIS 
and GDAL vrt files which I create with gdalbuildvrt 
http://www.gdal.org/gdalbuildvrt.html

Image layer manager is a sketch. For OpenJUMP user interface it is a normal 
vector layer and it is possible to insert new features by digitizing, copying 
from other layers and as WKT. All those operations are useless unless user 
copies features from other image layers. Fortunately nonsense features in image 
layer  seem to lead only to Class Not Found Exception messages in the lower 
left corner. Possibility to hand edit attributes may be useful sometimes for 
changing image paths but not for anything else.  And if a normal user opens a 
tiff file and gets layer named image.tif I guess that he believes that menu 
option Save dataset as means saving image to some other image format and not 
saving image footprint into vector file.

I think that before advertising image layer tool too much we should think what 
would be a good way to use this nice feature and how user interface should 
support the usage.  My opinion is that the first thing to do would be to 
separate the image catalogue layers somehow from the normal vector layers and 
make them editable only through Image Layer Manager which should have more 
features than it has now.

-Jukka-


edgar soldin wrote:
 
 move it over to jump-devel.
 
 true, the OJ image loader works that way.
 
 a am not sure about your catalog idea though as i feel, creating a image
 collection layer once and saving it with the project should be sufficient for
 most use cases.
 
 i think:
 A. we should place the image layer manager more prominently for users to
 discover this mechanism (higher in layer context menu, add to layer menu).
 B. replace the image layer icon with a multiple images icon
 
 ..ede
 
 
 On 15.03.2013 10:14, Jukka Rahkonen wrote:
  Hi,
 
  Add image layer is much more than another name for Open image file
  but nobody knows it and the image layer system has never been
  programmed ready. Read
  http://latuviitta.org/documents/OpenJUMP_image_layer_tool.pdf
 
  Add Image Layer opens an image file but it also creates an image
  catalogue which can hold many images. This image layer can also be
  saved as a vector layer in Jump JML format but there is no way to open
  such saved image catalogue because there is not such an option in
  anywhere in the user interface. Only way to utilize the saved image
  layer is to save also the project.
 
  Logical places for the Open Image Catalog operation would be through
  a new button in Image Layer Manager tool and in the open Wizard as a
  new file type Image Catalog. It should be handled in a special way
  because it is actually a vector file but users to not want to see the
  footprint polygons but the mapped images.
 
  -Jukka Rahkonen-
 
  edgar.sol...@web.de wrote:
  On 14.03.2013 21:36, Stefan Steiniger wrote:
 
  About removing File Open File, well, having it there is fine with
  me, even if it is redundant.
 
  open project and open file are the essential open mechanisms and
  belong under File main menu entry. this is where users are used to
  find it (in software generally) and expect it!
 
  add image layer is merely there because nobody found the time to
  write an openwizard for it.
 
  ..ede
 
  --
  -- You received this message because you are subscribed to the Google
  Groups openjump-users group. To post to this group, send email to
  openjump-us...@googlegroups.com. To unsubscribe from this group,
 send
  email to openjump-users+unsubscr...@googlegroups.com. For more
  options, visit this group at
  https://groups.google.com/d/forum/openjump-users?hl=en
  ---
  You received this message because you are subscribed to the Google
  Groups openjump-users group.
  To unsubscribe from this group and stop receiving emails from it,
  send an email to openjump-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics Download AppDynamics Lite
 for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net

Re: [JPP-Devel] Add image layer WAS: [openjump-users] Open File / Open Project

2013-03-15 Thread edgar . soldin
On 15.03.2013 11:36, Rahkonen Jukka wrote:
 Hi,
 
 It feels a bit odd that it is not possible to re-use existing image layers 
 stored into JML format in other projects simply by opening the catalog file 
 from user interface.  I am doing similar things pretty often with Quantum GIS 
 and GDAL vrt files which I create with gdalbuildvrt 
 http://www.gdal.org/gdalbuildvrt.html

but, the obviously initially intended use, creating a multiple image layer and 
saving/reopen it with the current project works so far? how about 
absolute/relative path issues?
 
 Image layer manager is a sketch. 

do you know where it stems from?

For OpenJUMP user interface it is a normal vector layer and it is possible to 
insert new features by digitizing, copying from other layers and as WKT. All 
those operations are useless unless user copies features from other image 
layers. Fortunately nonsense features in image layer  seem to lead only to 
Class Not Found Exception messages in the lower left corner. 

we can easily prohibit editing via cursor tools or such. snapshots seem to have 
that already implemented.

Possibility to hand edit attributes may be useful sometimes for changing image 
paths but not for anything else.  And if a normal user opens a tiff file and 
gets layer named image.tif I guess that he believes that menu option Save 
dataset as means saving image to some other image format and not saving image 
footprint into vector file.

True, we should probably create sham file format (your catalog file), which in 
reality is merely the special jml.

 I think that before advertising image layer tool too much we should think 
 what would be a good way to use this nice feature and how user interface 
 should support the usage.  

what about A/B from below?

My opinion is that the first thing to do would be to separate the image 
catalogue layers somehow from the normal vector layers and make them editable 
only through Image Layer Manager 

seems done in snapshots.

which should have more features than it has now.

what are you missing exactly? is adding/removing not enough for a start?

..ede

 
 -Jukka-
 
 
 edgar soldin wrote:
  
 move it over to jump-devel.

 true, the OJ image loader works that way.

 a am not sure about your catalog idea though as i feel, creating a image
 collection layer once and saving it with the project should be sufficient for
 most use cases.

 i think:
 A. we should place the image layer manager more prominently for users to
 discover this mechanism (higher in layer context menu, add to layer menu).
 B. replace the image layer icon with a multiple images icon

 ..ede


 On 15.03.2013 10:14, Jukka Rahkonen wrote:
 Hi,

 Add image layer is much more than another name for Open image file
 but nobody knows it and the image layer system has never been
 programmed ready. Read
 http://latuviitta.org/documents/OpenJUMP_image_layer_tool.pdf

 Add Image Layer opens an image file but it also creates an image
 catalogue which can hold many images. This image layer can also be
 saved as a vector layer in Jump JML format but there is no way to open
 such saved image catalogue because there is not such an option in
 anywhere in the user interface. Only way to utilize the saved image
 layer is to save also the project.

 Logical places for the Open Image Catalog operation would be through
 a new button in Image Layer Manager tool and in the open Wizard as a
 new file type Image Catalog. It should be handled in a special way
 because it is actually a vector file but users to not want to see the
 footprint polygons but the mapped images.

 -Jukka Rahkonen-

 edgar.sol...@web.de wrote:
 On 14.03.2013 21:36, Stefan Steiniger wrote:

 About removing File Open File, well, having it there is fine with
 me, even if it is redundant.

 open project and open file are the essential open mechanisms and
 belong under File main menu entry. this is where users are used to
 find it (in software generally) and expect it!

 add image layer is merely there because nobody found the time to
 write an openwizard for it.

 ..ede

 --
 -- You received this message because you are subscribed to the Google
 Groups openjump-users group. To post to this group, send email to
 openjump-us...@googlegroups.com. To unsubscribe from this group,
 send
 email to openjump-users+unsubscr...@googlegroups.com. For more
 options, visit this group at
 https://groups.google.com/d/forum/openjump-users?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups openjump-users group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to openjump-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics Download AppDynamics Lite
 for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 

[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by edso
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown 
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


--

Comment By: ede (edso)
Date: 2013-03-15 04:29

Message:
as you have a worldfile accompanying the tiff file, you can as well use the
image editor of your choice to open and save an uncompressed tiff file.

a quick test using irfanview worked flawlessly. open via
Add image layer
Sextante image
worked fine with the latest snapshot.

..ede

--

Comment By: Jukka Rahkonen (jratike80)
Date: 2013-03-14 14:01

Message:
This is the gdalinfo report of the image

C:\temp\crop_production_valuegdalinfo act2000_all_2000_val.tif
Driver: GTiff/GeoTIFF
Files: act2000_all_2000_val.tif
Size is 4320, 2160
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (-180.000,90.000)
Pixel Size = 

Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread edgar . soldin
On 15.03.2013 12:20, Chris Warner wrote:
 Tried this  below  how do you add a Sextant Image - this is not a 
 plus edition?

dunno when this was added. but it is available in 
- the latest snapshots
 or
- 1.5.2 both editions (CORE/PLUS)

somebody wrote it is the streamlined pirol plugin included and renamed and 
added to the OpenWizard.

..ede

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
Hello Geoffrey,
it's ok, i fix it. i didn't pay attention that i have doubled the jar.
thanks

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Rahkonen Jukka
Oh yes, Sextante image loader in in File - Open - Sextante Raster Image (in the 
left panel icons(. Not in File - Open file.
We have some menu troubles.

-Jukka-

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Chris Warner

On 15/03/2013 12:06, Rahkonen Jukka wrote:

  You need to use Sextante image loader (or Pirol plugin) if you want to use 
32-bit images is OpenJUMP. If images are your main point, I would recommend to 
use Saga GIS or Quantum GIS instead.
Hi Jukka, thanks for the quick response - you're a  nice guy, really 
appreciate it.


I am a GIS developer -  I was thinking about helping to code a GDAL 
plug-in, because OJ (or our implementation at least) could really use 
some advanced raster functions.
I came across this thread below and agree with both you and Landon, this 
would help OJ compete with the likes of QGIS etc.


What do you, or others think - any ideas suggestions?

I really think integration of C libraries directly into OJ is a bad
thing. Incorporating native libraries can be a real challenge when
your distributing a Java program for MS Windows, Linux, and Mac. It
also requires that at least some of our Java programmers deal with C
code when building and distributing OpenJUMP.

If GDAL was incorporated, I'd like to see that done as a plug-in if
possible, and not in the core.

*If GeoTools already wraps GDAL, that is certainly something that is**
**worth investigating.*

Landon


Megabytes do not have so big meaning nowadays but I like still a lot that
OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
most dlls are needed for GDAL and support of different image formats.



*It might be good idea to have the OpenJUMP advanced imagery support as a**
**separate plugin.*  Compressed tiff files cannot be opened at all. And for
some reason the Sextante raster option does not open our aerial images at
all, not even as untiled and uncompressed. *It would be very nice to get**
**better support for different tiff variants.*

-Jukka Rahkonen-


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Larry Becker
SkyJUMP has some limited support for GDAL via the OGR2OGR file conversion
utility.  I recommend the FWTools http://fwtools.maptools.org/binaries
which support windows and linux.  If you stick to command line stuff JNI is
not needed.

regards,

Larry Becker

On Fri, Mar 15, 2013 at 9:25 AM, Chris Warner chriswarne...@gmail.comwrote:

  On 15/03/2013 12:06, Rahkonen Jukka wrote:

  You need to use Sextante image loader (or Pirol plugin) if you want to use 
 32-bit images is OpenJUMP. If images are your main point, I would recommend 
 to use Saga GIS or Quantum GIS instead.

  Hi Jukka, thanks for the quick response - you're a  nice guy, really
 appreciate it.

 I am a GIS developer -  I was thinking about helping to code a GDAL
 plug-in, because OJ (or our implementation at least) could really use some
 advanced raster functions.
 I came across this thread below and agree with both you and Landon, this
 would help OJ compete with the likes of QGIS etc.

 What do you, or others think - any ideas suggestions?

 I really think integration of C libraries directly into OJ is a bad
 thing. Incorporating native libraries can be a real challenge when
 your distributing a Java program for MS Windows, Linux, and Mac. It
 also requires that at least some of our Java programmers deal with C
 code when building and distributing OpenJUMP.

 If GDAL was incorporated, I'd like to see that done as a plug-in if
 possible, and not in the core.

 *If GeoTools already wraps GDAL, that is certainly something that is**
 **worth investigating.*

 Landon

 Megabytes do not have so big meaning nowadays but I like still a lot that
 OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
 comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
 most dlls are needed for GDAL and support of different image formats.

 

 *It might be good idea to have the OpenJUMP advanced imagery support as a*
 *
 **separate plugin.*  Compressed tiff files cannot be opened at all. And
 for
 some reason the Sextante raster option does not open our aerial images at
 all, not even as untiled and uncompressed. *It would be very nice to get**
 **better support for different tiff variants.*

 -Jukka Rahkonen-



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread edgar . soldin
we talked about using native libs before here on the list. there JNA came up 
http://en.wikipedia.org/wiki/Java_Native_Access

and i already have a loader for native libraries in the back pocket, with some 
logic to traverse through folders to find the correct library for the platform.

having our reader support compressed tiffs shouldn't be the big issue by the 
way. it's just, somebody has to hack it in.

..ede

On 15.03.2013 15:55, Larry Becker wrote:
 SkyJUMP has some limited support for GDAL via the OGR2OGR file conversion 
 utility.  I recommend the FWTools http://fwtools.maptools.org/binaries 
 which support windows and linux.  If you stick to command line stuff JNI is 
 not needed. 
 
 regards,
 
 Larry Becker
 
 On Fri, Mar 15, 2013 at 9:25 AM, Chris Warner chriswarne...@gmail.com 
 mailto:chriswarne...@gmail.com wrote:
 
 On 15/03/2013 12:06, Rahkonen Jukka wrote:
  You need to use Sextante image loader (or Pirol plugin) if you want to 
 use 32-bit images is OpenJUMP. If images are your main point, I would 
 recommend to use Saga GIS or Quantum GIS instead. 
 Hi Jukka, thanks for the quick response - you're a  nice guy, really 
 appreciate it.
 
 I am a GIS developer -  I was thinking about helping to code a GDAL 
 plug-in, because OJ (or our implementation at least) could really use some 
 advanced raster functions.
 I came across this thread below and agree with both you and Landon, this 
 would help OJ compete with the likes of QGIS etc.
 
 What do you, or others think - any ideas suggestions?
 
 I really think integration of C libraries directly into OJ is a bad
 thing. Incorporating native libraries can be a real challenge when
 your distributing a Java program for MS Windows, Linux, and Mac. It
 also requires that at least some of our Java programmers deal with C
 code when building and distributing OpenJUMP.
 
 If GDAL was incorporated, I'd like to see that done as a plug-in if
 possible, and not in the core.
 
 *If GeoTools already wraps GDAL, that is certainly something that is**
 **worth investigating.*
 
 Landon
 
 
 Megabytes do not have so big meaning nowadays but I like still a lot that
 OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
 comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
 most dlls are needed for GDAL and support of different image formats.
 
 
 
 *It might be good idea to have the OpenJUMP advanced imagery support as 
 a**
 **separate plugin.*  Compressed tiff files cannot be opened at all. And 
 for
 some reason the Sextante raster option does not open our aerial images at
 all, not even as untiled and uncompressed. *It would be very nice to get**
 **better support for different tiff variants.*
 
 -Jukka Rahkonen-
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 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
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Chris Warner
On 15/03/2013 15:33, edgar.sol...@web.de wrote:
 we talked about using native libs before here on the list. there JNA came up
 http://en.wikipedia.org/wiki/Java_Native_Access

 and i already have a loader for native libraries in the back pocket, with 
 some logic to traverse through folders to find the correct library for the 
 platform.

 having our reader support compressed tiffs shouldn't be the big issue by the 
 way. it's just, somebody has to hack it in.

 ..ede
Thanks for the link Ede - I will look at this - I'm quite happy to 
contribute.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel