+DamhuisClan Posted May 14, 2008 Share Posted May 14, 2008 Hi I am looking at how feasible it would be to add South African provinces to "FindStatGen3.gsk", in GSAK, and would then allow the exports of provinces to the GC.com web site. I think I can do it, however I think there are two main problems, Sample (using Canada): http://www.world66.com/myworld66/visitedCa...?visited=ONQUAL The two main problems: 1) World66 (www.world66.com) do not seem to have the provinces for South Africa. I have emailed them for confirmation, and said I would like to assist them to add the provinces if they are interested, and they do not assist. As an alternative the maps could be hosted somewhere in SA (Can someone perhaps assist with this?) 2) I need some "Creative Commons" licence maps of the provinces in South Africa. So I can create the graphics for this. Does anyone know where I can get these? Are there cachers out there that would be interested in this graphical map export for their stats? Once it is working, then I will contact the creator of the original GSK makro, and ask him to include it for SA. Quote Link to comment
+Blackjack Bailey Posted May 14, 2008 Share Posted May 14, 2008 Hi Anton, I've thought about this feature as well, so I would be very keen to see it materialise! Quote Link to comment
+ClydeE Posted May 15, 2008 Share Posted May 15, 2008 (edited) Please see the Findstats Beta thread starting about here Custom Country maps have already started to take shape. You may well be duplicating some things here, so it may be best if you check that thread out for building your map. Edited May 15, 2008 by ClydeE Quote Link to comment
+DamhuisClan Posted May 15, 2008 Author Share Posted May 15, 2008 Thanks ClydeE! The work done there looks great, and will post there soon. I will attempt doing the African, and South African map. However I am still looking for some maps I can base my design on. Any one here in SA know where I can get one without infringing on any copy rights? Quote Link to comment
+GlobalRat Posted May 15, 2008 Share Posted May 15, 2008 (edited) Thanks ClydeE! The work done there looks great, and will post there soon. I will attempt doing the African, and South African map. However I am still looking for some maps I can base my design on. Any one here in SA know where I can get one without infringing on any copy rights? Hi Damhuisclan I had one of SA handy which I had already sent to lignumaquanto test the requirements, posted in the referenced thread as well. Unfortunately can't help out with Africa, well not in a hurry. Edited May 15, 2008 by GlobalRat Quote Link to comment
+GlobalRat Posted May 16, 2008 Share Posted May 16, 2008 (edited) SA Maps loaded. Caches that do not have provinces, all the archived one's, appear under "No Data". For some reason this has filled the sea green, chatting to lignumaquan to resolve. Next question is the provincial flags. In the image below, you can see two examples of the provincial flags which I've pasted in at the correct size. As you can see, they pretty much become unviewable. Anyone have any suggestions what we could use as the provincial flags? I've edited my definition file to use abbreviations instead of full provincial names, however the definition file on GSAK forum uses the full names, will explain later once fixed. Another Edited May 16, 2008 by GlobalRat Quote Link to comment
+GlobalRat Posted May 16, 2008 Share Posted May 16, 2008 Figured out the sea, and have sent lignumaquan v0.2 which he'll load up later today along with the current flags. Open to suggestions re flags, but here's what they currently look like. Quote Link to comment
+DamhuisClan Posted May 16, 2008 Author Share Posted May 16, 2008 Hay that really looks good. I found a map of Africa, in jpg format. Will see if I can get it into the gif format as required by GSAK. Might call on your experience here GR if I don't come right. Quote Link to comment
+Louise_Gerhard Posted May 28, 2008 Share Posted May 28, 2008 Thanks for the effort with the maps. I added the map to my stats and it does look cool. It worked first time. I have only one problem - if I print the stats on a black and white printer then the numbers on the map is not readable. But it is readable at the bottom as numbers. Gerhard Quote Link to comment
+Fish Eagle Posted May 28, 2008 Share Posted May 28, 2008 Caches that do not have provinces, all the archived one's, appear under "No Data". I've updated provinces on all the archived caches, so it should be OK now...? Quote Link to comment
+GlobalRat Posted May 29, 2008 Share Posted May 29, 2008 (edited) Caches that do not have provinces, all the archived one's, appear under "No Data". I've updated provinces on all the archived caches, so it should be OK now...? Thanks Fish Eagle. Noticed you had been busy. When I last ran it (a week or so ago) there was still one outstanding which I changed in GSAK and locked but I'm sure you have fixed it by now. Thanks again. I've had a number of questions regarding getting the map loaded, it's all explained on the GSAK Forum, and you will find the required file FindStatGenMapSouthAfrica.dat there as well. Summary of key points below. Download and save the file in the same directory as the macro (default is C:\GSAK\MACROS). The relevant macro is currently FindStatGen32Beta.gsk which you can download from the macro library at GSAK, if running version 7 there is a hyperlink in GSAK in the Run Macro command screen. Execute the macro and select Options in the pop up window. In the Reports section you need to have selected Other Maps as one of your reports. Below the Reports section click on the Maps button and you should see the South African map. Edited May 29, 2008 by GlobalRat Quote Link to comment
+Jors Posted May 29, 2008 Share Posted May 29, 2008 I've updated provinces on all the archived caches, so it should be OK now...? Thanks, Fish Eagle - thats great Quote Link to comment
+GlobalRat Posted May 29, 2008 Share Posted May 29, 2008 Caches that do not have provinces, all the archived one's, appear under "No Data". I've updated provinces on all the archived caches, so it should be OK now...? Thanks Fish Eagle. Noticed you had been busy. When I last ran it (a week or so ago) there was still one outstanding which I changed in GSAK and locked but I'm sure you have fixed it by now. Fish Eagle, here's one that slipped through the net GC118BA - Flying High Quote Link to comment
+Fish Eagle Posted May 29, 2008 Share Posted May 29, 2008 Fish Eagle, here's one that slipped through the net GC118BA - Flying High Done - let me know if there are more. Likely, because it wasn't a straightforward list which I worked off... Quote Link to comment
+Jors Posted June 4, 2010 Share Posted June 4, 2010 GSAK now also supports South African "Counties", which could be seen as the Municipal Districts, 52 in total. The regions were sourced from the Municipal Demarcation Board website. In GSAK, on the load dialog there is a County Update field. Put a Y in that field to up date the county field. Other options are u = update user data 2 = update user data 2 y = update county b = only update if blank f = set user flag, but only if updated r = set user flag regardless You have to be connected to the internet the first time you update, so that GSAK can get the files. More info in GSAK help file: GetCounty() Quote Link to comment
+DamhuisClan Posted June 6, 2010 Author Share Posted June 6, 2010 Can/should we speak to GSAK, and maybe get / create a map for Southern Africa? Might be interesting to see, which countries we have cached in on each stats page. Quote Link to comment
besem Posted June 7, 2010 Share Posted June 7, 2010 GSAK now also supports South African "Counties", which could be seen as the Municipal Districts, 52 in total. ... You have to be connected to the internet the first time you update, so that GSAK can get the files. More info in GSAK help file: GetCounty() Maybe I'm a little thick, but I can't get this to work. GSAK updates the counties for some of the European countries I've cached in, but the South African "counties" aren't updates. How do I do this? Quote Link to comment
+Jors Posted June 7, 2010 Share Posted June 7, 2010 (edited) GSAK now also supports South African "Counties", which could be seen as the Municipal Districts, 52 in total. Maybe I'm a little thick, but I can't get this to work. GSAK updates the counties for some of the European countries I've cached in, but the South African "counties" aren't updates. How do I do this? Besem, GSAK 7.7.2.25 or later is needed, othewise no worky. Edited June 7, 2010 by Jors Quote Link to comment
besem Posted June 7, 2010 Share Posted June 7, 2010 Besem, GSAK 7.7.2.25 or later is needed, othewise no worky. Ah. That solves the problem. Partially, at least - it seems like not all caches has municipality information yet. Quote Link to comment
besem Posted June 8, 2010 Share Posted June 8, 2010 GSAK now also supports South African "Counties", which could be seen as the Municipal Districts, 52 in total. The regions were sourced from the Municipal Demarcation Board website. Ek sien nou eers dat jy verwantwoordelik was vir die dataset vir die SA munisipaliteite! Goeie werk! Quote Link to comment
+GlobalRat Posted June 14, 2010 Share Posted June 14, 2010 Besem, GSAK 7.7.2.25 or later is needed, othewise no worky. mmmm running 7.7.2.26 and have entered Y in the county update when loading a GPX file and am connected to the internet. No updates have occurred though, anything I'm missing in the process? Quote Link to comment
+Jors Posted June 14, 2010 Share Posted June 14, 2010 (edited) mmmm running 7.7.2.26 and have entered Y in the county update when loading a GPX file and am connected to the internet. No updates have occurred though, anything I'm missing in the process? Nope, you are not missing anything.. I think? I'm not sure why it is not working as it should, perhaps I should move the discussion to the GSAK forums for our questions to be answered In the meanwhile, I'll attempt a workaround using the GSAK (not-optimised) GetPolygon() function, which seems to work better than the (optimised) GetCounty() function. My guess is that the optimisation is messing things up a bit. GSAK should have downloaded the 52 county polygons (*.txt) from the GSAK website, provided Y was in the county update box during the GPX/PQ's load process. The polygons should have been placed be in the folder [Application data folder]\locations\counties\zaf\all_zaf\ Locate your [Application data folder] with GSAK folder finder, and make sure they're there. Provided the download was successful and the polygons are where they should be, copy and paste the following macro code into Notepad and save as "RSA Counties.gsk" Doubleclicking will install it as a macro in GSAK, which can then be run to update the database. Remember to add the "County" column to make it visible. #******************************************* # MacDescription = Update RSA Counties (Municipal Districts) # MacFileName = RSA Counties.gsk # MacAuthor = You # MacVersion=1.0 # MacUrl= #******************************************* $data=GetPolygon("yb","$_AppData\locations\counties\zaf\all_zaf\*.*") MSGOK msg= Updated=$data This is working for me. UPDATE: It seems to be a 7.7.2.26 problem, 7.7.2.25 worked fine! Stand by... A question was posted on the GSAK forums here. Edited June 14, 2010 by Jors Quote Link to comment
+GlobalRat Posted June 14, 2010 Share Posted June 14, 2010 UPDATE: It seems to be a 7.7.2.26 problem, 7.7.2.25 worked fine! Stand by... A question was posted on the GSAK forums here. Standing by............. Quote Link to comment
+Jors Posted June 15, 2010 Share Posted June 15, 2010 Do try again after getting the patch to version 7.7.2.27 here Thanks to Clyde! Quote Link to comment
+GlobalRat Posted June 15, 2010 Share Posted June 15, 2010 Do try again after getting the patch to version 7.7.2.27 here Thanks to Clyde! Works like a charm. Thanks Quote Link to comment
besem Posted June 15, 2010 Share Posted June 15, 2010 I had an issue that only a small subset of my caches were getting county information. Turned out that it was a firewall issue! I tried again on a different internet connection, and all's well now. Thanks Jors! Quote Link to comment
+trevorh7000 Posted June 16, 2010 Share Posted June 16, 2010 Ok I can see the counties now but is there an SA counties map for gsak like there is with the provinces. I think I have just answered my own question as there is no SA-counties map available from the FindStatGen makro install page. Or is it a work in progress. Having the information is OK but visualizing it on a map would be great! Trev Quote Link to comment
+Jors Posted June 30, 2010 Share Posted June 30, 2010 Ok I can see the counties now but is there an SA counties map for gsak like there is with the provinces. I think I have just answered my own question as there is no SA-counties map available from the FindStatGen makro install page. Or is it a work in progress. Having the information is OK but visualizing it on a map would be great! Trev No map yet, but a work in progress. Let's see where it goes from here. Quote Link to comment
+Jors Posted July 1, 2010 Share Posted July 1, 2010 Ok I can see the counties now but is there an SA counties map for gsak like there is with the provinces. I think I have just answered my own question as there is no SA-counties map available from the FindStatGen makro install page. Or is it a work in progress. Having the information is OK but visualizing it on a map would be great! Trev No map yet, but a work in progress. Let's see where it goes from here. Trying to sort out some colours, making it similar to the province map, but here is an example: Link to Map Quote Link to comment
+trevorh7000 Posted July 2, 2010 Share Posted July 2, 2010 No map yet, but a work in progress. Let's see where it goes from here. Trying to sort out some colours, making it similar to the province map, but here is an example: Link to Map Nice work. Thanks for the effort. If I could offer some constructive criticism - the shading did not do it for me and it is hard to tell which color is which. I would rather prefer the exact same functionality as the provinces map - just shade the district 1 solid color if you have found any caches in it and show the number centred in the district. I realise this might be a problem with some of the smaller districts. My R0.02 - but thanks again for the map as it is right now. Trev Quote Link to comment
+Jors Posted July 2, 2010 Share Posted July 2, 2010 - the shading did not do it for me and it is hard to tell which color is which. I would rather prefer the exact same functionality as the provinces map - just shade the district 1 solid color if you have found any caches in it and show the number centred in the district. I realise this might be a problem with some of the smaller districts. Trevor, The number of finds centered in the district is not available on this and other County level maps, it is only available on State level maps for the exact reason mentioned, being the size of some districts. I agree, the shading (especially the yellow to red) is not ideal but pink to red does look slightly better. I have not yet managed to get a solid colour fill without the colour legend. This might be a question for the FSG forum? Please feel free to experiment with the map definition file, and let me know what you come up with. Thanks for your feedback. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.