Advanced

Re: GC2YKD9 - Calgary FSA Challenge

[Work in progress] GC2YKD9 - Calgary FSA Challenge
June 01, 2016 03:06AM
I have an existing challenge that requires the cacher to find a cache in each of Calgary's 36 Forward Sortation Area's (FSA). The GCCode is http://coord.info/GC2YKD9.

The challenge seems to be satisfied with a Generic Boundary Checker if it is able to read the polygons of the FSA that are publicly available. Only the Calgary FSA's are allowed.

I'm currently checking the bookmark lists against a google map (https://www.google.com/maps/d/u/0/edit?mid=1-alNslHM8dWA6SMbtAuXWiegWnM).

Any help in getting a checker for this challenge is greatly appreciated.

Regards,
Rustywa
Re: GC2YKD9 - Calgary FSA Challenge
June 01, 2016 05:34AM
Do you have a link to the polygon data that you've said is publicly available?
Re: GC2YKD9 - Calgary FSA Challenge
June 01, 2016 05:49AM
The Canadian FSA data is publicly available from
https://www12.statcan.gc.ca/census-recensement/2011/geo/bound-limit/bound-limit-2011-eng.cfm.
That site gives FSA boundaries for ALL of Canada though.

I have converted the data into a .kml file for just the 36 Calgary FSA's. That file can be downloaded from my site:

http://www.robursem.com/geocaching/Challenge/CalgaryFSAChallengeBoundaries.kml

If other formats are better suited then I'd probably be able to convert it into that format.

The 36 FSA's are: T1X, T1Y, T2A, T2B, T2C, T2E, T2G, T2H, T2J, T2K, T2L, T2M, T2N, T2P, T2R, T2S, T2T, T2V, T2W, T2X, T2Y, T2Z, T3A, T3B, T3C, T3E, T3G, T3H, T3J, T3K, T3L, T3M, T3N, T3P, T3R, T3Z
Re: GC2YKD9 - Calgary FSA Challenge
June 01, 2016 06:01AM
We'll need the data in JSON format, which will be along the lines of:

{"T1X":{"polypoints":[[[51.059766, -113.911915],
[51.059766, -113.888569],
...
[51.059766, -113.911915]
]],
"T1Y":{"polypoints":[[[51.092809, -114.001694],
...
]]
}}
Re: GC2YKD9 - Calgary FSA Challenge
June 01, 2016 06:09AM
Re: GC2YKD9 - Calgary FSA Challenge
June 01, 2016 01:47PM
Please convert it into the format listed above.
it is an easy transformation from geojison
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 05:33AM
What exactly is the format you need? JSON is a generic encoding and can contain anything. I thought GeoJSON would be what you needed since I'm using it for many map applications as well. Obviously that's not the right version of JSON. Are you looking for TopoJSON? A little guidance please otherwise we are playing a game of "bring me a rock"...
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 08:25AM
I could not find an automatic converter, nor do I know what flavour of JSON is needed. So I manually created a JSON file along the example that you gave. I've validated the JSON to be properly formatted and valid although I have no mapping program to verify the polygons.

Please find this JSON file at
http://www.robursem.com/geocaching/Challenge/CalgaryFSAChallengeBoundaries.json
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 12:52PM
It is not a standard format but the one used for this checker http://project-gc.com/Tools/Challenges?edit&scriptId=1287

I have asked for it to be added to the server because the size is to large for the config.
Then the checker is trivial to tag
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 12:52PM
Your json is sent for uploading
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 05:42PM
Here is the link to the checker http://project-gc.com/Challenges/GC2YKD9/21080

I'm doubtful about the types they need a physical cache and unknown caches are excluded.
There is nothing writen about a Letterbox Hybrid which is a physical cache. This type is include in the checker.

Events are excluded becase the checker will not detect if there is a logbook

Please confirm the above assumptions
Re: GC2YKD9 - Calgary FSA Challenge
June 02, 2016 06:24PM
This is awesome!

I see that the polygon for T1X (east side of the city) is not what I intended it to be but I think this will do.
Checking the CanadaPost site it seems they have introduced a new FSA in that area but I'll leave the requirements as they are.

The allowed cache types seem ok.

Thanks for the work, I'll include the checker on the cache page!
Sorry, only registered users may post in this forum.

Click here to login