Re: [JPP-Devel] Adding GeoJSON read/write with JTS

2016-06-27 Thread Rahkonen Jukka (MML)
Yes, sure, having all as strings is a good start. -Jukka- edgar soldin wrote: > Jukka, > could you live with all attributes being read as Strings for now? ..ede On 27.06.2016 08:35, Jukka Rahkonen wrote: >> Hi, >> >> Json datatypes http://www.tutorialspoint.com/json/json_data_types.htm do n

[JPP-Devel] Difficult data for concave hull

2016-06-23 Thread Rahkonen Jukka (MML)
Hi, I was playing with the Concave hull plugin and got usually good results. However, the attached data gives odd results even if I followed the hint to densify the geometries. Sending to the list if some developers happens to be interested in having a look. -Jukka Rahkonen- concave_problem.

[JPP-Devel] NPE from Oracle datastore query with empty geometries

2016-05-30 Thread Rahkonen Jukka (MML)
Hi, I tried to read data from Oracle datastore with Run datastore query and were hit by NPE. The Oracle layer works OK with DB Query plugin. I suppose that NPE is caused by some NULL geometries in the table because query succeeds if I add "WHERE geom is not null". DB Query converts empty geomet

[JPP-Devel] Jython tools behave badly

2016-05-30 Thread Rahkonen Jukka (MML)
Hi, I decided to refresh my memory and try what the Jython digitizing tools do but they appeared to be unreliable. For example, the Road Arc tool did not seem to do anything. What is worse, after trying to use the tool no other tools work anymore. If we can't fix the tools it might be better to

Re: [JPP-Devel] SVN: [4923] core/trunk

2016-05-24 Thread Rahkonen Jukka (MML)
Not really joking, I would not be surprised if the file is important for developers for some reason. -Jukka- edgar.soldin wrote: you're joking right? ..ede On May 24, 2016 11:00:19 PM GMT+02:00, "Rahkonen Jukka (MML)" wrote: >Hi, > >I wonder how important it is to

Re: [JPP-Devel] SVN: [4923] core/trunk

2016-05-24 Thread Rahkonen Jukka (MML)
Hi, I wonder how important it is to update this logfile that lives in the sources with the changesets https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/openjump.log -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net [mailto:jump-pilot-..

[JPP-Devel] Wanna make Spatialite and GeoPackage datastore fast?

2016-05-19 Thread Rahkonen Jukka (MML)
Hi, When a layer comes from Spatialite or GeoPackage datastore through "Open Data Store Layer" OpenJUMP is making new SQL request after each pan/zoom by using the envelope of the view as spatial filter. Corresponding code is at https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/c

Re: [JPP-Devel] Datastore Connection manager does not allow closing all connections

2016-05-18 Thread Rahkonen Jukka (MML)
18.05.2016 15:15, Rahkonen Jukka (MML) wrote: > Hi, > > > > If I use some Spatitalite/GeoPackage connection with OpenJUMP it keeps the > connection open which means that the database file can't be renamed, moved or > deleted. That's OK and I can close the connec

[JPP-Devel] Datastore Connection manager does not allow closing all connections

2016-05-18 Thread Rahkonen Jukka (MML)
Hi, If I use some Spatitalite/GeoPackage connection with OpenJUMP it keeps the connection open which means that the database file can't be renamed, moved or deleted. That's OK and I can close the connection by pressing the Disconnect button in the Connection manager. However, when I close the C

Re: [JPP-Devel] OpenJUMP will not work on Java 9

2016-05-07 Thread Rahkonen Jukka (MML)
Hi, There may be nothing to port for OpenJDK 8. I used the OpenJDK 8 Windows 64-bit early access version http://download.java.net/java/jdk8u102/archive/b04/binaries/jre-8u102-ea-bin-b04-windows-x64-25_apr_2016.exe Both OpenJUMP Core and Plus started with it. However, some more testing with

[JPP-Devel] OpenJUMP will not work on Java 9

2016-05-05 Thread Rahkonen Jukka (MML)
Hi, I downloaded an early access version of Java 9 from http://download.java.net/java/jdk9/archive/116/binaries/jre-9-ea+116_windows-x64_bin.exe and tried to start OpenJUMP with it. OJ did not start. With core the error was Caused by: java.lang.NumberFormatException: For input string: ""

Re: [JPP-Devel] convert a prj/proj code to epsg code

2016-05-02 Thread Rahkonen Jukka (MML)
Hi, I fear that it is very hard to map the .prj text to EPSG-codes in a reliable way. GDAL tries to do it with this code https://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogr_srs_esri.cpp but sometimes it does fails with interpreting the .prj file. Roundtrip fails more frequently (read prj,

Re: [JPP-Devel] SVN: [4902] core/trunk/src

2016-04-25 Thread Rahkonen Jukka (MML)
Hi, If I can read the changeset there are lots of whitespace changes like - private String wfsUrl; + private String wfsUrl; Do we have guidelines for coding style? GDAL has this https://trac.osgeo.org/gdal/wiki/rfc8_devguide -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: ju

[JPP-Devel] Intersects and Geometrycollection

2016-04-15 Thread Rahkonen Jukka (MML)
Hi, It seems that Intersects operation does not work with Geometrycollections but OpenJUMP does not throw any error or warning. JTS Test builder, version 1.13 gives this error java.lang.IllegalArgumentException : java.lang.IllegalArgumentException: This method does not support GeometryCollect

Re: [JPP-Devel] Database drivers and 2D/3D geometries

2016-04-14 Thread Rahkonen Jukka (MML)
array length (see next r4895 - don't know why it had not yet built). By the way, where geometry type info can be retrieved from oracle database... Michaël Le 13/04/2016 16:50, Rahkonen Jukka (MML) a écrit : Hi, Yes, you should look at the first number of the GTYPE attribute which has nowad

Re: [JPP-Devel] Database drivers and 2D/3D geometries

2016-04-13 Thread Rahkonen Jukka (MML)
2/db92.drilldown?word=NUMBER> ); I now try to get coord_dimension from DIMINFO array length (see next r4895 - don't know why it had not yet built). By the way, where geometry type info can be retrieved from oracle database... Michaël Le 13/04/2016 16:50, Rahkonen Jukka (MML) a écrit :

Re: [JPP-Devel] Database drivers and 2D/3D geometries

2016-04-13 Thread Rahkonen Jukka (MML)
information must match the number of dimensions of each geometry object in the layer.” -Jukka- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: 13. huhtikuuta 2016 17:51 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: Re: [JPP-Devel] Database drivers and 2D/3D geometries Hi, Yes, you should

Re: [JPP-Devel] Database drivers and 2D/3D geometries

2016-04-13 Thread Rahkonen Jukka (MML)
rather than an int as in other spatial databases. I tried to fix it in r4895. If it does not work I think I'll have to revert the change. Michaël Le 13/04/2016 15:45, Rahkonen Jukka (MML) a écrit : Hi, I am getting this error when r4894 is trying to read the table list from Oracle. I d

Re: [JPP-Devel] Database drivers and 2D/3D geometries

2016-04-13 Thread Rahkonen Jukka (MML)
Hi, I am getting this error when r4894 is trying to read the table list from Oracle. I do not know if it is a regression or just a normal bug. java.lang.RuntimeException: Invalid query: select t.column_name, t.diminfo, t.srid, 'SDO_GEOMETRY' as type from ALL_SDO_GEOM_METADATA t where t.owner =

Re: [JPP-Devel] SVN: [4887] core/trunk

2016-04-07 Thread Rahkonen Jukka (MML)
Idea, I suppose, is not to stop if archive does not have for example .cpg part of shapefile but check if it can be found outside the archive. I may be wrong, though. -Jukka- Lähettäjä: edgar.sol...@web.de Lähetetty: ‎7.‎4.‎2016 10:56 V

Re: [JPP-Devel] Faster makeValid tool

2016-04-06 Thread Rahkonen Jukka (MML)
-devel@lists.sourceforge.net Aihe: Re: [JPP-Devel] Faster makeValid tool Hi Jukka, Right. Maybe an option to fix geometries in place (replacing geometries in the curent layers) would be even easier to use. What do you think ? Michaël Le 06/04/2016 21:19, Rahkonen Jukka (MML) a écrit : Hi, I have a layer with 1.2 m

[JPP-Devel] NPE from OpenJUMP 1.9 if shapefile is without .cpg

2016-04-06 Thread Rahkonen Jukka (MML)
Hi, OpenJUMP 1.9 can't open some of my shapefiles while they open fine with OJ 1.8. I noticed that NullPointerException comes from getCharset, and indeed, if I copied and renamed a .cpg file from another place the NPE went away. However, I think that it should not be mandatory to have .cpg file

[JPP-Devel] Faster makeValid tool

2016-04-06 Thread Rahkonen Jukka (MML)
Hi, I have a layer with 1.2 million polygons. I can find with geometry.isValid query in 30 seconds that 142 of those are not valid. Running the make valid tool takes rather a long time because it seems to clone the layer and perform makeValid for all the features https://sourceforge.net/p/jum

Re: [JPP-Devel] Some feedback about WFS plugin

2016-04-06 Thread Rahkonen Jukka (MML)
edgar.soldin wrote: > On 06.04.2016 01:00, Rahkonen Jukka (MML) wrote: >> Hi, >> >> >> >> I was checking the translation of the WFS plugin and made some notes: >> >> 1) In the Properties tab, the window that shows the attributes is qu

[JPP-Devel] Some feedback about WFS plugin

2016-04-05 Thread Rahkonen Jukka (MML)
Hi, I was checking the translation of the WFS plugin and made some notes: 1) In the Properties tab, the window that shows the attributes is quite narrow and it can't be made any wider. 2) In the Request tab, button "response" can't be translated. 3) Validate Request: it would

Re: [JPP-Devel] How to revert r4879?

2016-04-05 Thread Rahkonen Jukka (MML)
Jukka- edgar.soldin wrote: On 05.04.2016 15:56, Rahkonen Jukka (MML) wrote: > Hi, > > > > I noticed too late that Babel Fish which I use for translations is saving End > Of Line in Windows style LF+CR while language files in SVN have just LF. That > lead to all too b

[JPP-Devel] How to revert r4879?

2016-04-05 Thread Rahkonen Jukka (MML)
Hi, I noticed too late that Babel Fish which I use for translations is saving End Of Line in Windows style LF+CR while language files in SVN have just LF. That lead to all too big changeset r4879 which I tried to revert TortoiseSVN but so fat I have only managed to revert change on my local mac

Re: [JPP-Devel] EPSG codes missing from CTS

2016-03-29 Thread Rahkonen Jukka (MML)
>> alternatively i imagine that we can provide an updated file within OJ for >> cts to use. >> >> ..ede >> >> On 29.03.2016 16:45, Rahkonen Jukka (MML) wrote: >>> Hi, >>> >>> >>> >>> Some Finnish projections have new

[JPP-Devel] EPSG codes missing from CTS

2016-03-29 Thread Rahkonen Jukka (MML)
Hi, Some Finnish projections have new definitions. Old EPSG codes 3126-3138 have new variants with codes 3873-3885. The difference is in false eastings which are always 50 for the old codes but for the new codes false easting depends on the Gauss-Krüger zone number. For example Old: 3126

Re: [JPP-Devel] Cleaning, formatting rewriting

2016-03-24 Thread Rahkonen Jukka (MML)
gh for the short term (it is not supposed to change the > way OJ works). > But I hope it will make the code more attractive. I think it may also > be a first step for bigger refactoring task if needed. > > Michaël > > Le 23/03/2016 22:49, Rahkonen Jukka (MML) a écrit : >

[JPP-Devel] Cleaning, formatting rewriting

2016-03-23 Thread Rahkonen Jukka (MML)
Hi, Michaël seems to do much work with "Cleaning, formatting rewriting". As a non-programmer I would like to know what and why, and what benefit OpenJUMP will have from this code review. Regards, -Jukka Rahkonen- -- Tr

Re: [JPP-Devel] OpenJUMP adopts java 1.7

2016-03-15 Thread Rahkonen Jukka (MML)
Hi, Because 1.7 is practically end-of-life https://java.com/en/download/faq/java_7.xml I wouldn't call this as an too early step. -Jukka Rahkonen- Michaël Michaud wrote: Hi all, I just switched compilation environment to java1.7 in the pom. If any of you has strong argument against a swit

Re: [JPP-Devel] Remove spike plugin

2016-03-13 Thread Rahkonen Jukka (MML)
- an option to prevent the production of invalid geometries (currently, removing a spike can produce invalid geometries) Michaël Le 13/03/2016 19:24, Rahkonen Jukka (MML) a écrit : > Hi Michaël, > > I tested the plugin with my problematic data. Plugin is at least very fast > and it p

Re: [JPP-Devel] Remove spike plugin

2016-03-13 Thread Rahkonen Jukka (MML)
Hi Michaël, I tested the plugin with my problematic data. Plugin is at least very fast and it processed the whole layer in 25 seconds. However, it is a bit difficult to investigate what it really did because the majority of polygons are without spikes. Could it be possible to add an option that

Re: [JPP-Devel] NPE from the new Dissolve tool

2016-03-10 Thread Rahkonen Jukka (MML)
, Rahkonen Jukka (MML) a écrit : Hi, I have tried to dissolve features (points) by a common attribute with the new Dissolve tool but it gives Null point exception if I have the default Union/Merge aggregation selected. java.lang.NullPointerException at

Re: [JPP-Devel] How to find spikes with OpenJUMP?

2016-03-09 Thread Rahkonen Jukka (MML)
tion to check for min angle... so what you want is the reverse. But I also don't know of a tool to fix that. Don't even remeber if I implemented something alike in the mapgen toolbox, but it was rather focused on buildings :/ stefan On 3/3/16 09:57, Rahkonen Jukka (MML) wrote: Hi, I

[JPP-Devel] NPE from the new Dissolve tool

2016-03-08 Thread Rahkonen Jukka (MML)
Hi, I have tried to dissolve features (points) by a common attribute with the new Dissolve tool but it gives Null point exception if I have the default Union/Merge aggregation selected. java.lang.NullPointerException at org.openjump.core.ui.plugin.tools.aggregate.A

[JPP-Devel] How to find spikes with OpenJUMP?

2016-03-03 Thread Rahkonen Jukka (MML)
Hi, I would need a topology tool that could find and possibly remove spikes from geometries. I believe that a spike could be defined as an angle of <-179 degrees or >179 degrees between two adjacent segments. Any suggestions? -Jukka Rahkonen-

Re: [JPP-Devel] Fwd: Re: Any features added to openjump between versions 1.7.1 and 1.8.0 worth mentioning in the Project Overview?

2016-03-03 Thread Rahkonen Jukka (MML)
I don’t think that anything essential is missing. Perhaps PDF as an outputformat. If we get 1.9 into LiveDVD then Coordinate conversion is worth mentioning, as well as H2 Spatial and GeoPackage as input formats. -Jukka Rahkonen- Stefan Steiniger wrote: any comments? I don't really now if you h

Re: [JPP-Devel] OJ reads XYZ in PostGIS style EWKB, not in OGC style WKB

2016-02-17 Thread Rahkonen Jukka (MML)
s is and try to work with Martin Davis to have it included fully in JTS in the future. Michaël Le 17/02/2016 16:49, Rahkonen Jukka (MML) a écrit : Sorry Michaël, I noticed that I used the version of OpenJUMP with a hacked JTS instead of the version with patched spatialite driver (r4823). My obs

Re: [JPP-Devel] OJ reads XYZ in PostGIS style EWKB, not in OGC style WKB

2016-02-17 Thread Rahkonen Jukka (MML)
Sorry Michaël, I noticed that I used the version of OpenJUMP with a hacked JTS instead of the version with patched spatialite driver (r4823). My observations below are useless. -Jukka- Lähettäjä: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Lähetetty: 17. helmikuuta 2016

Re: [JPP-Devel] OJ reads XYZ in PostGIS style EWKB, not in OGC style WKB

2016-02-17 Thread Rahkonen Jukka (MML)
WKB Hi Jukke, Just patched spatialite driver in OpenJUMP. Can you try different geometry types, and if possible, with different byte order ? Not sure what happens wih geometry M and geometry ZM. Michaël Le 16/02/2016 13:40, Rahkonen Jukka (MML) a écrit : Hi, I can confirm that with the patched

Re: [JPP-Devel] OJ reads XYZ in PostGIS style EWKB, not in OGC style WKB

2016-02-16 Thread Rahkonen Jukka (MML)
t, but a bit convoluted Michaël Le 11/02/2016 11:26, Rahkonen Jukka (MML) a écrit : Hi, Pasting this thread https://lists.osgeo.org/pipermail/geos-devel/2013-December/006757.html for making it easier to find from the OpenJUMP archives what is the difference between XYZ geometries as they appe

[JPP-Devel] OJ reads XYZ in PostGIS style EWKB, not in OGC style WKB

2016-02-11 Thread Rahkonen Jukka (MML)
Hi, Pasting this thread https://lists.osgeo.org/pipermail/geos-devel/2013-December/006757.html for making it easier to find from the OpenJUMP archives what is the difference between XYZ geometries as they appear in OGC WKT and in the PostGIS EWKB. Adding also some keywords from the original e

[JPP-Devel] Enhanse WKT reader to understand POINT Z etc.

2016-02-11 Thread Rahkonen Jukka (MML)
Hi, OpenJUMP does understand Well Know Text features with XYZ coordinates in format POINT (2 2 2). However, in "OpenGIS(r) Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture" such feature is defined to be POINT Z (2 2 2). It would be nice t

Re: [JPP-Devel] Parsing XYZ geometries from Geopackage

2016-02-10 Thread Rahkonen Jukka (MML)
ably in there and must be fixed there as well. maybe i makes sense if you forward the testdata to them. ..ede On 09.02.2016 23:40, Rahkonen Jukka (MML) wrote: Hi, Sorry, I was thinking that you programmers are interested in the deep details. That file can't be read directly with OJ

Re: [JPP-Devel] Parsing XYZ geometries from Geopackage

2016-02-09 Thread Rahkonen Jukka (MML)
ere it should. Or maybe there is an endianness problem. In the example of stackoverflow, I would say that the input wkb is actually not valid (I would write wkb type as 03ea, not ea03), but I may be wrong. Michaël Le 08/02/2016 23:40, Rahkonen Jukka (MML) a écrit : Hi, I tried to open a Geo

Re: [JPP-Devel] Parsing XYZ geometries from Geopackage

2016-02-09 Thread Rahkonen Jukka (MML)
erflow, I would say that the input wkb is actually not valid (I would write wkb type as 03ea0000, not ea03), but I may be wrong. Michaël Le 08/02/2016 23:40, Rahkonen Jukka (MML) a écrit : Hi, I tried to open a GeoPackage file through the new Spatialite datastore but got just JTS er

[JPP-Devel] Parsing XYZ geometries from Geopackage

2016-02-08 Thread Rahkonen Jukka (MML)
Hi, I tried to open a GeoPackage file through the new Spatialite datastore but got just JTS errors like "unknown wkb type 235". I discovered soon that my data had also Z-coordinates and this Stackoverflow question http://stackoverflow.com/questions/29142663/parse-wkb-string-using-jts-topology-s

Re: [JPP-Devel] Few suggestions

2016-02-04 Thread Rahkonen Jukka (MML)
Hi, Isn't it so that what is dissolve for ESRI http://wiki.gis.com/wiki/index.php/Dissolve is Union for OGC Simple Feature access: a geometric object that is the set union of g1 and g2? Then the name could be also "union by". -Jukka Rahkonen- Michaël Michaud wrote: Hi Stefan, Thank you for

Re: [JPP-Devel] wfs mapserver 1.0 vs. 1.1

2016-01-10 Thread Rahkonen Jukka (MML)
Hi Ede, It is the same feature than with the BBOX in WMS 1.3.0, axis order must suit with official definitions of the coordinate system. So this is right with WFS 1.0.0 http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&typename=cities&maxfeatures=1 -58.672500,-34

Re: [JPP-Devel] wfs enhancements

2016-01-08 Thread Rahkonen Jukka (MML)
> > my 2 cents, > stefan > > On 08-01-2016 10:40, Rahkonen Jukka (MML) wrote: >> Hi, >> >> Yes, ows.terrestris.de works for me. >> >> Here is an open Mapserver WFS that gives the same error than our own >> Mapserver: http://demo.mapserver.org

Re: [JPP-Devel] wfs enhancements

2016-01-08 Thread Rahkonen Jukka (MML)
restris.de/geoserver/osm/wfs work for you? ..ede On 08.01.2016 12:54, edgar.sol...@web.de wrote: > hmm.. can you give me access to that? looks like it returns an unexpected > null somewhere. > > ..ede > > On 08.01.2016 12:45, Rahkonen Jukka (MML) wrote: >> Hi Ede, >> >

Re: [JPP-Devel] wfs enhancements

2016-01-08 Thread Rahkonen Jukka (MML)
Hi Ede, I made a test about > 1. wfs auth is working properly (looked like it didn't work before, did it?) It did not work before but works now. I could only test with a demo WFS service I made with Mapserver. The plugin can read data through proxy, https, and basic authentication up till get

Re: [JPP-Devel] wfs enhancements

2016-01-05 Thread Rahkonen Jukka (MML)
Hi, With WFS 1.1.0 you can test what is the server side limit for maximum number of features. Just remember 1) use version=1.1.0 2) use plain &request=GetFeature without any filters, maxFeatures/count, or BBOX 3) use &resulttype=hits http://ows.terrestris.de/geoserver/osm/wfs?service=WFS&version

Re: [JPP-Devel] sql security

2016-01-01 Thread Rahkonen Jukka (MML)
Hi, As far as I can imagine the security risk can only become actual if OpenJUMP is used in a multiuser environment where some project administrator is creating JUMP project files and/or workbench-state.xml file and deliver them for the operators. In that case users do not necessarily know the

Re: [JPP-Devel] Two issues with GetFeatureInfo in r4720

2015-12-31 Thread Rahkonen Jukka (MML)
2015 20:11 Vastaanottaja: OpenJump develop and use; Rahkonen Jukka (MML) Aihe: Re: [JPP-Devel] Two issues with GetFeatureInfo in r4720 Jukka, can you please test if wms info w/ auth works properly now? thx ..ede On 30.12.2015 14:01, edgar.sol...@web.de wrote: > let me see if i can quickly h

Re: [JPP-Devel] SVN: [4728] core/trunk/src/org/openjump/util/UriUtil.java

2015-12-30 Thread Rahkonen Jukka (MML)
Hi, Does automatic build run? I have been waiting for a snapshot a little bit longer than usually. -Jukka- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net [mailto:jump-pilot-...@lists.sourceforge.net] Lähetetty: 30. joulukuuta 2015 20:05 Vastaanottaja: jump-pil

Re: [JPP-Devel] Check if a Geometry collection (or a Feature Schema) is made by a single geometry type

2015-12-30 Thread Rahkonen Jukka (MML)
Hi, You found a use case for in-memory H2GIS layer that Michaël was dreaming about a few days ago. Then you could use SQL somehowl like “SELECT DISTINCT geometry_type(the_geom)…” Meanwhile you could study what Edit – Extract – Extract layers by geometry type does. Now it already sends a messa

Re: [JPP-Devel] H2GIS missing from dbdatastore in r4720

2015-12-29 Thread Rahkonen Jukka (MML)
All right, so we do not ship H2GIS stuff with OJ Plus but users must install jars by themselves, no problem. -Jukka- -Alkuperäinen viesti- Lähettäjä: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Lähetetty: 29. joulukuuta 2015 16:39 Vastaanottaja: OpenJump develop

Re: [JPP-Devel] H2GIS missing from dbdatastore in r4720

2015-12-29 Thread Rahkonen Jukka (MML)
GIS missing from dbdatastore in r4720 On 29.12.2015 14:58, Rahkonen Jukka (MML) wrote: > Hi, > > I suppose that H2GIS should be included in both embedded/file db and > server/client variants by default but now they seem to be missing. what does it say under Help->About->Extensio

[JPP-Devel] H2GIS missing from dbdatastore in r4720

2015-12-29 Thread Rahkonen Jukka (MML)
Hi, I suppose that H2GIS should be included in both embedded/file db and server/client variants by default but now they seem to be missing. There is probably some reason for having "MariaDB" and "MySQL", but also "MySQL (MariaDB)" drivers. -Jukka Rahkonen-

[JPP-Devel] Two issues with GetFeatureInfo in r4720

2015-12-29 Thread Rahkonen Jukka (MML)
Hi, I was testing GetFeatureInfo with OpenJUMP r4720 and found these two issues: 1) Basic authentication URL is only almost right. Username:password are taken but they are added in front of the query_string, not in front of the basic url. Here below is how OJ is building the request now:

Re: [JPP-Devel] SVN: [4666] core/trunk

2015-12-24 Thread Rahkonen Jukka (MML)
, what error do you get? It builds for me... Alberto On 24 December 2015 at 13:58, Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Hi, R4666 did not build http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-20151224-r4666.log/download

Re: [JPP-Devel] SVN: [4665] core/trunk

2015-12-24 Thread Rahkonen Jukka (MML)
Hi, It looks that GetMap is not removed from the GetFeatureInfo request which makes at least Geoserver to fail Single value expected for request parameter request but instead found: [GetMap, GetFeatureInfo] -Jukka- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net

Re: [JPP-Devel] SVN: [4666] core/trunk

2015-12-24 Thread Rahkonen Jukka (MML)
Hi, R4666 did not build http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-20151224-r4666.log/download -Jukka- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net [mailto:jump-pilot-...@lists.sourceforge.net] Lähetetty: 24. joulukuuta 2015 1

Re: [JPP-Devel] SVN: [4663] core/trunk

2015-12-23 Thread Rahkonen Jukka (MML)
Hi, r4663 did not build http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-20151223-r4663.log/download -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net [mailto:jump-pilot-...@lists.sourceforge.net] Lähetetty: 23. joulukuu

Re: [JPP-Devel] release status

2015-12-22 Thread Rahkonen Jukka (MML)
Hi, Once you are ready I can test with our server how GetFeatureInfo works through https and basic authentication. -Jukka Rahkonen- Alberto De Luca wrote: Edgar, I know this might be annoying, but I got today a request for adding to the FeatureInfoTool the capability to display the results f

Re: [JPP-Devel] ViewManager plugin

2015-12-22 Thread Rahkonen Jukka (MML)
Here comes the Finnish translation. -Jukka- Lähettäjä: Giuseppe Aruta [mailto:giuseppe.ar...@gmail.com] Lähetetty: 22. joulukuuta 2015 18:05 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] ViewManager plugin Hi Michael, here are the Spanish and Italian files thanks Peppe Il 20/Di

Re: [JPP-Devel] H2GIS support

2015-12-20 Thread Rahkonen Jukka (MML)
In OpenJUMP, create your connection [cid:image002.png@01D13B68.D3876B40] With H2 server, the connection pannel should be like postgis one Michaël Le 20/12/2015 11:42, Rahkonen Jukka (MML) a écrit : Hi, I would like to test H2GIS a bit. Can you recommend some easy way for installing and getting s

Re: [JPP-Devel] H2GIS support

2015-12-20 Thread Rahkonen Jukka (MML)
Hi, I would like to test H2GIS a bit. Can you recommend some easy way for installing and getting some sample data? -Jukka Rahkonen- Michaël Michaud wrote: Hi, Thanks to your big refactoring of spatialdatabase code, I could easily add support to H2GIS database, a pure java dabase with spatia

Re: [JPP-Devel] New improvement on Raster Style by Alberto

2015-12-18 Thread Rahkonen Jukka (MML)
Hi, I haven’t been testing anything but I wonder if it would be good to add a version number to the OpenJUMP project file XML. Then it could be possible to implement something - Open new generation JML with older OJ versions –> stored raster styles are not applied but hopefully they

Re: [JPP-Devel] More success with OJ and Spatialite datastore

2015-12-18 Thread Rahkonen Jukka (MML)
forge.net> Aihe: Re: [JPP-Devel] More success with OJ and Spatialite datastore On 16.12.2015 16:01, edgar.sol...@web.de wrote: > On 16.12.2015 15:57, Rahkonen Jukka (MML) wrote: >> I have still problem with “Run datastore query”. It does work with the >> Spatialite connecti

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-16 Thread Rahkonen Jukka (MML)
edgar soldin wrote: > just assumed because of > https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/com/vividsolutions/jump/datastore/spatialite/SpatialiteDataStoreDriver.java#l69 > "new SQLiteConfig().enableLoadExtension(true);" > but obviously this just autoloads the sqlite nativ

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-16 Thread Rahkonen Jukka (MML)
Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] > issue with the sqlite extension libs seems to be that they are loaded by > sqlite itself. all _we've_ got is the > sqlite jdbc that seems to have a config switch to turn on autoloading *OR* > the SELECT load_extension(...); > *OR

[JPP-Devel] More success with OJ and Spatialite datastore

2015-12-16 Thread Rahkonen Jukka (MML)
Hi, This time I placed all the dll files into \lib and now connection seems to use mod_spatialite (Windows 7, Java 1.8.0_60 32-bit). I can verify that Spatialite is used by adding a WHERE filter like "ST_Area(geometry)>1000". OJ log also shows that every request is made with ST_EnvIntersect

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-16 Thread Rahkonen Jukka (MML)
17:31, Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: edgar soldin wrote: > yes. DBQuery seems to insist on having the parameter > "spatialite=mod_spatialite". seems like it does > not enable the autoloading. > Larry: any reason for that? I

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-15 Thread Rahkonen Jukka (MML)
edgar soldin wrote: > yes. DBQuery seems to insist on having the parameter > "spatialite=mod_spatialite". seems like it does > not enable the autoloading. > Larry: any reason for that? I think it is the right thing to do because the key feature of DB Query is that it is robust. It can read a

[JPP-Devel] Something may be wrong with workbench-state.xml

2015-12-15 Thread Rahkonen Jukka (MML)
Hi, It feels like workbech-state.xml does not keep all the settings it used to do, like the list of recently used WMS services. -Jukka Rahkonen- -- ___ Jump-pilot-devel mailing

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-14 Thread Rahkonen Jukka (MML)
g the dataset works. Nico: why can't i modify my request via 'layer name context menu/Database/Edit Query'? Jukka&Nico: how can i check if spatialite is working? ..ede On 14.12.2015 22:59, Rahkonen Jukka (MML) wrote: > Hi, > > The latest ones are these: > http://ww

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-14 Thread Rahkonen Jukka (MML)
with the datastore plugin it requires that SQLite jdbc driver is in /lib. I saw from the source code that it really tries to execute SELECT load_extension('mod_spatialite') but I can't find any traces of that from the OJ log. -Jukka- edgar soldin wrote: On 14.12.2015 14:33,

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-14 Thread Rahkonen Jukka (MML)
I mean these blogs: http://openjump.blogspot.fi/search/label/GeoPackage -Jukka- -Alkuperäinen viesti- Lähettäjä: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Lähetetty: 14. joulukuuta 2015 15:34 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] Adding

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-14 Thread Rahkonen Jukka (MML)
Jukka (MML) wrote: > Works now but SQLite jdbc driver must still be in \lib. Using > \lib\ext\dbdatastore gives ClassNotFound error. hey Jukka, can you give me a short step-by-step on how to load an sqlite dataset plus an example sqlite file? maybe including spatialite example. then i can

Re: [JPP-Devel] WFS plugin gives NoSuchMethodError in r4620

2015-12-14 Thread Rahkonen Jukka (MML)
in my port, meaning after r4219? ..ede On 14.12.2015 11:41, Rahkonen Jukka (MML) wrote: > How to reproduce: > > > > - Create a layer, digitize any feature on it, select the feature and > press the WFS button. The plugin is supposed to take the selected geometry

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-14 Thread Rahkonen Jukka (MML)
on is found. I only test it on my platform, where mod_spatialite is installed. I didn't know about GeoPackage. I will look at it. Nicolas On 13 December 2015 at 23:59, Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Works now but SQLite jdbc driver must

[JPP-Devel] WFS plugin gives NoSuchMethodError in r4620

2015-12-14 Thread Rahkonen Jukka (MML)
How to reproduce: - Create a layer, digitize any feature on it, select the feature and press the WFS button. The plugin is supposed to take the selected geometry and use it for building a spatial filter but now it throws an error: java.lang.NoSuchMethodError: org.deegree.model.spatia

[JPP-Devel] SQLite/SpatiaLite and Error parsing timestamp

2015-12-13 Thread Rahkonen Jukka (MML)
Hi Nicolas, This discussion defines the problem with SQLite and times http://comments.gmane.org/gmane.comp.gis.jump.devel/15966 I can create some test data for you if you wish. -Jukka Rahkonen- -- ___

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-13 Thread Rahkonen Jukka (MML)
work it out i assume you remember to put the dll(s) into lib/native/x##/ automatically. remind me please. it works w/o the dll's but with them you get some sql macros you wouldn't have otherwise, right? ..ede On 13.12.2015 22:19, Rahkonen Jukka (MML) wrote: > Hi, > > Spatialite

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-13 Thread Rahkonen Jukka (MML)
...@web.de [mailto:edgar.sol...@web.de] Lähetetty: 13. joulukuuta 2015 21:40 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: Re: [JPP-Devel] Adding other spatial databases support in OJ core Jukka, please try r4614 PLUS.. ede On 13.12.2015 19:00, Rahkonen Jukka (MML) wrote: > V

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-13 Thread Rahkonen Jukka (MML)
Very interesting. Unfortunately r4609 did not build http://vorboss.dl.sourceforge.net/project/jump-pilot/OpenJUMP_snapshots/OpenJUMP-20151213-r4609.log. -Jukka Rahkonen- Nicolas Ribot wrote: Hi, I made a commit (r4609) adding Spatial databases support for MySQL/MariaDB and Spatialite. Some p

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Rahkonen Jukka (MML)
Are WKB and WKT really used in Spatialite? FDO system is probably using WKB but I have never met WKT geometries. More useful might be to support GeoPackage geometries and I suppose that DB Query Plugin has good native parser for them. I suppose you are making a pure java solution because with Sp

Re: [JPP-Devel] Feature request: Flip coordinates

2015-12-12 Thread Rahkonen Jukka (MML)
problem, I agree that a flip plugin could be useful (and quite easy to do). Note that in the meantime, you can get the same result with Generate > Affine transform Y-Scale = -1 Rotation = 90 Michaël Le 12/12/2015 12:29, Rahkonen Jukka (MML) a écrit : Hi, Test the states feature type from

[JPP-Devel] Feature request: Flip coordinates

2015-12-12 Thread Rahkonen Jukka (MML)
Hi, Test the states feature type from WFS http://demo.opengeo.org/geoserver/wfs with version 1.1.0 and you will see the reasoning. In GML 3 the axis order follows the official definitions of the CRS which is latitude-longitude for

Re: [JPP-Devel] JTS 1.14

2015-12-12 Thread Rahkonen Jukka (MML)
WFS works as you can see by trying the "states" feature type from the other pre-defined service at demo.opengeo.org. The error probably means that the deegree2 CRS system is so old that EPSG:3857 was not known at that time. It may not be easy to add the support. Definitions are hidden somewhere

Re: [JPP-Devel] Add some JTS functions before next release?

2015-12-10 Thread Rahkonen Jukka (MML)
ntly support polygon hole editing in OpenJUMP? Landon On Wed, Dec 9, 2015 at 6:37 AM, Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Hi Michaël, I have tried most functions which are available in JTS Testbuilder but it feels that there are not many that could b

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-09 Thread Rahkonen Jukka (MML)
Hi, This version makes connection with out Oracle rather fast and reading data is successful. I have one suggestion: If adding a new layer fails because of some ORA-error it would be better not to add the layer into the OpenJUMP project. Test case: Add a layer with invalid WHERE. It seems to b

Re: [JPP-Devel] Add some JTS functions before next release?

2015-12-09 Thread Rahkonen Jukka (MML)
- Landon Blake wrote: Jukka: On which JTS class do you find the scale function? How do we currently support polygon hole editing in OpenJUMP? Landon On Wed, Dec 9, 2015 at 6:37 AM, Rahkonen Jukka (MML) mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Hi Michaël, I have tried most fun

Re: [JPP-Devel] Add some JTS functions before next release?

2015-12-09 Thread Rahkonen Jukka (MML)
, Rahkonen Jukka (MML) a écrit : Hi, There are some cool function in JTS https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/. I guess that some OpenJUMP functions in the geometry functions menu are the same JTS functions, like "Minimum Bounding Circle". I wonder how difficul

Re: [JPP-Devel] Language files

2015-12-09 Thread Rahkonen Jukka (MML)
Thanks Peppe, I found it now. For Sextante image layers there are now these tools: - Raster – Raster color editor (very basic) - Layer context – Change styles – Raster color editor tab (more features) - Layer context – Raster styles (even more features) Are they so

Re: [JPP-Devel] Language files

2015-12-09 Thread Rahkonen Jukka (MML)
Hi, Do I need to do something special for activating the RasterStylePlugIn? I can’t find it from the menus or perhaps I just do not know what to search. Is it for Sextante rasters or for some other images? -Jukka Rahkonen- Giuseppe Aruta wrote: Hi all, I saw that Jukka and Michael upgraded Fi

<    1   2   3   4   5   6   >