Jukka,

can you please try if r4754 (if it builds) fixes your issue. it should.

..ede

On 08.01.2016 16:42, Rahkonen Jukka (MML) wrote:
> Most WFS servers nowadays can also send data as GeoJSON which is not so 
> flexible and therefore not as painful as GML. Also, most GIS data are still 
> plain 2D or 2.5D simple features and there in not much gain in using GML for 
> such simple data. Sometimes using GeoJSON as outputformat could be useful as 
> a workaround. 
> 
> http://demo.opengeo.org/geoserver/topp/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:states&outputFormat=application/json
> 
> However, filters for WFS  must still be written as GML despite the BBOX that 
> can be given as key-value pair.
> 
> 
> -Jukka Rahkonen-
> 
> 
> 
> -----Alkuperäinen viesti-----
> Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] 
> Lähetetty: 8. tammikuuta 2016 17:24
> Vastaanottaja: OpenJump develop and use
> Aihe: Re: [JPP-Devel] wfs enhancements
> 
> found the bug already. it was in the deegreefc to ojfc converter code.
> 
> generally you are right and we should port wfs support to use fresh still 
> developed code including proper gml reading.
> 
> ..ede
> 
> On 08.01.2016 16:18, Stefan Steiniger wrote:
>> so, if this may be a GML problem that its probably not that Ede can fix. 
>> GML is so flexible (and GML 3 vs GML 2 is so different) that it is a 
>> pain to make it work. I also tried to move/load GML from one other GIS 
>> to OJ and vice versa... but that seem to be more like luck if it worked.
>> So its actually good to know that  Terrestris / GeoServer works. 
>> Perhaps specifying a lower WFS/GML version helps?
>>
>> 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/cgi-bin/wfs
>>>
>>> I created the request and copy-pasted the response from the "cites" layer 
>>> into a file and checked the file with GDAL. It found all the data so at 
>>> least for GDAL the GML is valid.
>>>
>>> -Jukka-
>>>
>>>
>>> -----Alkuperäinen viesti-----
>>> Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
>>> Lähetetty: 8. tammikuuta 2016 14:07
>>> Vastaanottaja: OpenJump develop and use
>>> Aihe: Re: [JPP-Devel] wfs enhancements
>>>
>>> does http://ows.terrestris.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,
>>>>>
>>>>> 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 getting GML data into the 
>>>>> "response" tab. Making an OpenJUMP layer fails, though, with this short 
>>>>> error message:
>>>>>
>>>>> java.lang.NullPointerException
>>>>>   at 
>>>>> de.latlon.deejump.wfs.data.JUMPFeatureFactory.createFromDeegreeFC(JUMPFeatureFactory.java:415)
>>>>>   at de.latlon.deejump.wfs.plugin.WFSPlugIn.run(WFSPlugIn.java:184)
>>>>>   at 
>>>>> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
>>>>>   at java.lang.Thread.run(Unknown Source)
>>>>>
>>>>> -Jukka-
>>>>>
>>>>>
>>>>> -----Alkuperäinen viesti-----
>>>>> Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
>>>>> Lähetetty: 2. tammikuuta 2016 18:33
>>>>> Vastaanottaja: OpenJump develop and use
>>>>> Aihe: [JPP-Devel] wfs enhancements
>>>>>
>>>>> hey Jukka,
>>>>>
>>>>> just committed r4737 . if that builds could you please check
>>>>>
>>>>> 1. wfs auth is working properly (looked like it didn't work before, 
>>>>> did it?)
>>>>>
>>>>> 2. it should be faster now, can you compare an old and r4737 against each 
>>>>> other?
>>>>>
>>>>> 3. what is the max. item count you can download on a high powered machine 
>>>>> (lot's of ram, x64 java, plenty of cores). on my laptop (2core,Xmx6GB) it 
>>>>> was roughly 500.000 from http://ows.terrestris.de/geoserver/osm/wfs 
>>>>> 'osm_waterways' dataset.
>>>>> limiting factor seems to be the deegree2 parser, which seems to be 
>>>>> multithreaded but also memory leaky. it get's cleaned up after it is 
>>>>> finished though.
>>>>>
>>>>> thx ..ede
>>>>>
>>>>>
>>>>> -------- Forwarded Message --------
>>>>> Subject: [JPP-Devel] SVN: [4737] core/trunk
>>>>> Date: Sat,  2 Jan 2016 16:19:28 +0000
>>>>> From: jump-pilot-...@lists.sourceforge.net
>>>>> Reply-To: OpenJump develop and use
>>>>> <jump-pilot-devel@lists.sourceforge.net>
>>>>> To: jump-pilot-devel@lists.sourceforge.net
>>>>>
>>>>> Revision: 4737
>>>>>            http://sourceforge.net/p/jump-pilot/code/4737
>>>>> Author:   edso
>>>>> Date:     2016-01-02 16:19:28 +0000 (Sat, 02 Jan 2016)
>>>>> Log Message:
>>>>> -----------
>>>>> - finetuned wfs httpclient access, unified proxy and auth handling
>>>>> - wfs request is now buffered to disk for optimal performance
>>>>> - wfs item count is now limited by RAM only
>>>>> NOTE: we should probably switch to deegree3+ instead of patching 
>>>>> things up
>>>>>
>>>>> ...
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> --
>>>>> --------- _______________________________________________
>>>>> Jump-pilot-devel mailing list
>>>>> Jump-pilot-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> --
>>>>> --------- _______________________________________________
>>>>> Jump-pilot-devel mailing list
>>>>> Jump-pilot-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>
>>>> --------------------------------------------------------------------
>>>> --
>>>> -------- _______________________________________________
>>>> Jump-pilot-devel mailing list
>>>> Jump-pilot-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>
>>> ---------------------------------------------------------------------
>>> --------- _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>> ---------------------------------------------------------------------
>>> --------- _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>> ----------------------------------------------------------------------
>> -------- _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to