[ckan-dev] Valid GeoJSON fails.
Henrik Aagaard Sørensen
BU1G at tmf.kk.dk
Wed Jul 3 10:56:38 UTC 2013
Just a follow up:
My apologies. I saw that the URL from master.ckan... had maxFeatures=50 in its URL which only outputs a certain amount of data.
Everything seems to work as intended.
Again, my apologies.
-----Oprindelig meddelelse-----
Fra: Henrik Aagaard Sørensen
Sendt: 3. juli 2013 12:53
Til: CKAN Development Discussions
Emne: SV: [ckan-dev] Valid GeoJSON fails.
Hi
I just copy pasted the GeoJSON into geojsonlint.com and actually got all the lines.
Looks perfect in geojsonlint.com but not in:
http://master.ckan.org/dataset/test-geojson/resource/3ec4bb1b-12ff-447b-8232-285b1ee3f57c
-----Oprindelig meddelelse-----
Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Dominik Moritz
Sendt: 3. juli 2013 12:44
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] Valid GeoJSON fails.
I'm not sure what causes it but when you try to preview the geojson from [1] at http://geojsonlint.com/ you get the same result that's missing lines. Maybe the geojson output is limited to a certain number of lines... Or Leaflet cannot preview the GeoJSON because it's too large.
[1] http://master.ckan.org/dataset/test-geojson/resource/3ec4bb1b-12ff-447b-8232-285b1ee3f57c
On 3 Jul 2013, at 12:20, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> Hi Adrià
>
> A quick follow up on the issue regarding GeoJSON preview in CKAN.
>
> You send me the link:
> http://master.ckan.org/dataset/test-geojson/resource/3ec4bb1b-12ff-447b-8232-285b1ee3f57c
> which shows the fix.
>
> However, looking at that map it misses a lot information.
> This is a PNG on how the routes should look:
> http://wfs-kbhkort.kk.dk/k101/wms?service=WMS&version=1.1.0&request=GetMap&layers=k101:groenne_cykelruter&styles=&bbox=717071.125,6168661.5,729993.75,6182094.5&width=492&height=512&srs=EPSG:25832&format=image%2Fpng
>
> Can you help me out figuring out why the differences occur?
>
> Regards
>
> -----Oprindelig meddelelse-----
> Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Adrià Mercader
> Sendt: 20. juni 2013 16:12
> Til: CKAN Development Discussions
> Emne: Re: [ckan-dev] Valid GeoJSON fails.
>
> Hi Henrik,
>
> Nothing wrong with URL, this is caused by a know issue [1] that has
> been fixed in master and will be in 2.1. See for example:
>
> http://master.ckan.org/dataset/test-geojson/resource/3ec4bb1b-12ff-447b-8232-285b1ee3f57c
>
> We'll try and port it to the upcoming 2.0.2 version as well [2].
>
>
> Adrià
>
>
>
> [1] https://github.com/okfn/ckan/pull/896
> [2] https://github.com/okfn/ckan/pull/980
>
> On 20 June 2013 14:28, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
>> I'm trying to view specific GeoJSON data in CKAN. Some external sources does
>> work, but this for example fails:
>>
>> http://wfs-kbhkort.kk.dk/k101/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=k101:groenne_cykelruter&maxFeatures=50&outputFormat=json&SRSNAME=EPSG:4326
>>
>>
>>
>> Can anyone help me out to figure out why, perhaps something with SRSNAME?
>>
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
Dominik Moritz
CKAN developer | skype: d.moritz | @doobly_doo
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/ | @okfn | http://ckan.org | @CKANproject
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
More information about the ckan-dev
mailing list