View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002383 | GeoSetter | User Interface | public | 2022-12-02 18:19 | 2023-02-25 12:34 |
Reporter | Motalf | Assigned To | Friedemann | ||
Priority | normal | Severity | block | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | PC | OS | windows | OS Version | 7 |
Product Version | 3.5 | ||||
Target Version | Fixed in Version | ||||
Summary | 0002383: Map not visible on w7 | ||||
Description | Map not visible on windows 7 ! sur le fichier map_google.html Ligne 1117 à 1120: ------------------ L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© http://www.openstreetmap.org/copyright' }).addTo(map); Replace with : --------------- var osmUrl='http://{s}.tile.osm.org/{z}/{x}/{y}.png'; var osmAttrib='Map data © http://openstreetmap.org contributors'; var osm = new L.TileLayer(osmUrl, {attribution: osmAttrib}).addTo(map); See if this solution works with W8 (8.1) W10 and w11 to solve the problem on w7 and talk to Friedemann about it - the attached image shows the map displayed in geosetter on W7 with the above solution. - The zip contains the modified map_google.html file. | ||||
Tags | No tags attached. | ||||
|
map_google.zip (7,836 bytes) |
|
I forgot the maxzoom I attach the image with the code, it will be more meaningful |
|
the zip with the maxZoom correction map_google v2.zip (8,039 bytes) |
|
If you prefer a satellite map, here is temporarily a hybrid satellite map that works under Windows 7. The map is displayed in full quality. File > Settings > Map > Map Address and Layers |
|
Geosetter.jpg (313,561 bytes) map_google.rar (7,663 bytes) |
|
With Openstreetmap there are many possibilities ! in Map Satellite there are: Esri Satellite Bing map Satellite there are others but Paid in API But not Hybrid! a way to get closer to it and add a CartoDB Voyager layer Like Below I did. Afterwards it is Friedemann who will make the decision. I just took over from his code! ;) |
|
With the zoom ! |
|
@ThunderBoy You forgot a " in the google api script: <script src="http://........Key></script> <script src="http://........Key"></script> I also have this happen to me often, either a " or either a >. :p ;) |
|
Hello, i have not yet testet your solutions, but i have coded a new simple geotagging tool that only need a browser (with internet connection) and exiftool. It runs also in win7 and is totally modificable. Please read the instructions and the info page. https://www.penultima.de/geo/ |
|
@Motalf Please don't link to geosetter.de server in your script. You can download the scripts and save it in the geosetter directory. That don't request the geosetter.de server and is better for Friedmann. ;) save ressources ? |
|
@slart Ok thanks for the information! I didn't know there was an impact. Usually I get the css and Js in a local folder how to do for the zip already posted ? Can you remove them to avoid the problem ? |
|
@Motalf All is good. I have testet your map_google.html and it works fine on Win7 with IE 11. I have talked with Friedmann the last days for the future of Geosetter and give him a little bit tips. The idea of a html file with the map code (JavaScript) is always good, but not yet perfect. It was better to save the files (css, js, png, jpg, ...) was linked in the map_google.html local by the user, also in the geosetter directory and not on the server. The idea of Friedmann by the map_google.html was, that users can modifying it. But except the Win7 users no one has done it. The greater problem of geosetter is also not the map displaying, was is generated with the map_google.html, but the Geosetter core. But this problem is a difficult problem and not really a problem, but also, perhaps in the future. By this, the really problem is time - the free time of Friedmann to code a new Geosetter core. I have suggested another procedure to Friedmann, similar to a management. We will see whether he adopts it or not. It includes the idea for saving the files not on the server, but by the users, and by changes, publish a new version of Geosetter. By the way, I have created a Geosetter Simple (with OpenLayer map) that has no core to cause problems. Geosetter Simple works like a website. It can be used localy (download). Hint: First you must choose a map by click. By default no map is displayed. https://www.penultima.de/geo/ |
|
I quickly tested the option proposed by "slart". But it does not offer all the possibilities of GeoSetter. So for my part, I will continue to use GeoSetter. :) |
|
No worries I understand, I corrected locally see the images in the attached zip (with a few more changes). cool if the map file works with w11 it would mean that it will work with w8 and w10 until the next version. do I attach the file without the OSM map links? (so I don't dare to post files anymore) I tried with Bing map (Satellite) and Esri Vector (Hybrid) but with the api keys it blocks with updateCustomLayers apparently My skills stop there! I quickly flew over the Simple Geosetter (with OpenLayer map ) I'll look a little better! Thank you ! ;) Folder Local.zip (140,758 bytes) |
|
Oupps sorry, the settings were out of order ! Folder Locoal.zip (1,425,235 bytes) |
|
For me (Windows 7 x64) it works now. Thank you! Also the satellite view, but I have to change the map under File > Settings > Map > Map Address and Layers every time. |
|
Thank you Thunderboy and Motalf! I ended up using the hybrid map from Thunderboy. But I feel the max zoom is still a bit far away. Is it possible to get a higher zoom level? Thank you anyway! :-) |
|
@Erik I put the 2 maps in the google-osm file, it will be easier than going to the preferences. @DenisPac you have to add the line maxZoom: 18 (the max is 20 it seems to me) there is a table for the zoom max according to the map I have to find it! map_esri-osm.zip (81,314 bytes) map_google-osm.zip (81,195 bytes) |
|
unzip the zip in folder Geosetter -file map -folder osm and put the map file path in the preferences see picture below |
|
here is the table for the maps (it is not complete but it gives a starting point) Zoom Map Leaflet.xlsx (12,500 bytes) |
|
@DenisPac |
|
Thanks @Motalf for the edit. I didn't have time to do it. It's getting better. In the files map_esri-osm.html or map_google-osm.html, edit the coordinates of your position below this line (approximately 1300). if (ALatitude > 900 || ALongitude > 900) { ALatitude = ALongitude = It would still be good to add attribution for Google, e.g.: attribution: 'https://www.google.com/maps/' I won't edit it anymore. |
|
Thank you to Motalf for providing the map_google-osm file above, and for providing instructions on editing the zoom file. I am now running Geosetter successfully on Windows 7 with Google hybrid map and OSM, at zoom 19. It even runs faster than the previous official version. Good software lives forever! (and thank you to Friedemann for the classic software) |
|
@Motalf Thank you, but i have no time yet to test it. again, i had talked with Friedmann the last days. He code at this time an updated v3.5.3 with a little bit corretures for failure things. By this update, he put all files, that are requestet from geosetter from the server geosetter.de in the local geosetter directory. Maybe, next, the files go offline. Therefore my request to you, all files into a local directory. good one. The next: in this same update the map_google.html will be splittet in html, css, js files and the last embeeded in the first. So, the thing is, you can wait for this update and make a new modififcation from this, or you make it now with splittet in html, css, js. The thing is, the updated geosetter will be not work in W7. My idea, why the geosetter (default map_google.html) don't work in W7, is the ECMA, also the JavaScript Enginge in the IE. That can not "let" and "const" and so one. When you use a older leaflet or OpenLayers script, than it works furthermore. The last by OpenLayers is the 5.3.0. On this day, Friedmann say, a Geosetter v4 is not expected to occur. He have no time for this. Also, we have v3.5.3 and in the next day a updated version from this with a little bit changes. So, I have asked Friedmann to mark the code in the split files so that it is either visible which parts can be adjusted, or visible which parts need to be left unangstated. Then everyone has the chance to adjust these files as they like. We will see in the next days. *Geosetter Simple* Yes, it is really *simple*, but have no unvisible CORE. All code is visible and modificable. The published version is only a really simple version. From this, it is endless expandable. All what Geosetter can, is possible with Geosetter Simple - theoretically. Geosetter is only a connection to the local file system and exiftool. The map with all your functions (marker, GPX, ...) is compleetly outside in the map_google.html. From this point of view is Geosetter Simple a fully worked map_google.html without Geosetter. By exiftool, Geosetter send the command on exiftool. In Geosetter Simple you send the command on exiftool. Thats the not so comfortable different, but it is a very little process: copy&paste. For this, it has no core. So, what you need is time for coding or money for coders or find published moficated versions of Geosetter Simple. *Geosetter Simple* is a new start for a free tool for geotagging. It depends on what is made of it. Good luck! |
|
unangstated = untouched (german: unangetastet) |
|
Thank you for the feedback ! it's cool ! @ThunderBoy for attrib I thought about it but I didn't want to touch it. In the image with the google maps (street, topo, etc..) it is not mentioned I will look! ALatitude and ALongitude ditto I will look! @gbger in the google_map.html file on the geosetter server, the maxZoom is 19 (from memory) by copying the code from my map to modify, the maxZoom was 18. if some want to change the level, there is the table to help you. @slart Thank you for this important information but this is beyond my knowledge. I don't have your level! I know a little leaflet because I edited 3, 4 map in local web page. that's how I saw that the line to display the map was not good! Html, css, it can be fine, I still have to learn. But Js Scripts, etc... so there it is hard! I can understand it but can't apply it. I do a little, but it's really tiny! ;) @ Esri Vector (hybrid) works in local web page but no way to put it in geosetter as already said! I must be doing it wrong (as said above) Esri Vector (hybrid) and better than Esri Satellite, no need to add CartoDB Voyager and is closer to Gmap Hybrid. I did not add the search bar with the magnifying glass button which works well on the local web page. In geosetter, she yo-yos at times. To solve the problem, display the search bar and type enter. It's a little bug but it can be annoying. that's why I didn't put it. |
|
@ThunderBoy For Google attribute we have nothing to do, normally it should be displayed as below see the image. |
|
if you want to add an attrib modify with the following code in the image below I can't do anything more! |
|
map_google.html (41,475 bytes) |
|
A quick way to switch between three card styles |
|
@xyzzy Mapbox and Maptiler have a free API but a limited number of uses (to be verified) |
|
For Google attrib take this one instead, see the code below in the image |
|
@xyzzy The OpenStreetMap map does not show up under Windows 7. The other maps are working. If I can find more time, I'll take a look at all your suggestions. I'm also not a great programmer. |
|
try it it should work now I modified with my piece of code map_google-2.zip (8,381 bytes) |
|
Thanks @Motalf, it works. As I wrote, when I find more time, I will add more different maps. |
|
To add favorite cities map_google-3.rar (8,243 bytes) |
|
map_google-3.zip (8,360 bytes) |
|
Favorite Cities.jpg (296,125 bytes) |
|
Another version with only 2 maps it's up to you to see which one suits you! then I stop there this one: https://www.geosetter.de/mantis/view.php?id=2383#c4093 or this one: map_Gmap-OSM_2map_Only.zip (81,531 bytes) map_Esri-OSM_2map_Only.zip (81,500 bytes) |
|
@Motalf : The last model is very good. Thanks |
|
For information : if you want to change the unit of measurement of the map scale at the bottom left, replace true with false and vice versa Metric : -------- imperial: false, metric: true Imperial: --------- imperial: true, metric: false see below in the picture |
|
@Motalf: Missing an image |
|
I can not do anything ! this is a grayed out part of the code in my opinion. the same thing happens on the map file on the server: http://map.geosetter.de/v3/map_google.html Friedmann is working on it I think! apart from reporting a new bug, but he must be aware! there is also the cross in the center of the map ditto. |
|
GeoSetter.rar (1,822,853 bytes) |
|
So I looked at it and kept the code from @Motalf. There are 14 maps in total. I added one more scale around the edges. It can be quite useful. Apart from the map, no data is downloaded from the Internet or directly from the GeoSetter server. Even Motalf understood this, that there was no need to burden other servers. This should also be used in the new version of GS. I did this by copying the entire contents of the archive to your GeoSetter directory. And in the map settings you just type this geosettermaps.html Google's hybrid map is set up first. If you want to set a different start map, you have to edit it in the code. In the geosettermaps.html file, on line 1025, replace the entire section up to // 2nd map (line: 1026-1033) with another map below. On lines 1014 and 1015 set your starting position (Latitude and Longitude). Everything you need can be found in the attached images. Everything works for me here under Windows 7, so test it out. This is the final version from me. I won't edit it anymore. I'm happy with that. |
|
I solved the problem: In your solution, in the "OSM" directory there is an "img" subdirectory which contains the "png" including "favorite.png". I created an "img" directory at the same level as "OSM" and copied the "favorite.png" file. There it works again |
|
@ThunderBoy I saw afterwards that we could put more maps. 14 that's a lot I think, you can reduce the circles of the map thumbnails not too much either otherwise it's too small, it will leave more visibility. especially on small laptop screens 13 to 15 " Otherwise nice work! the original attrib is in the js script of the api key but at the service/json level (something like that) so no access to retrieve it the thing is, it doesn't show up in geosetter! I moved up the attrib leaflet by 20px to see if it was below and nothing. have you seen that I put a second preferable Attrib for google!? here: https://www.geosetter.de/mantis/view.php?id=2383#c4106 @xyzzy I did'nt understand everything ! you click on the bubble or on the star favorites to display the popup? I do not use these last buttons on the right of the menu so I do not know how it is displayed. (I didn't pay attention to it!) I don't know if it displays the favorites.png icon or if it displays a thumbnail (thumbnail) of the selected photo!? |
|
|
|
@Motalf: It is when you click on a favorite place (defined on the maps by a star). This star is also displayed in the top left with the information specified when creating favorites in the open popup |
|
@xyzzy favorite.png missing? odd! |
|
The path you displayed is "...AppData\Roaming\GeoSetter\OSM\img" but it must also be in the path "...AppData\Roaming\GeoSetter\img" so that they appear in the popup of the favorite |
|
For my part, in order not to duplicate the directories, I created a link with the command: mklink /J C:\Users\...\AppData\Roaming\GeoSetter\img C:\Users\...\AppData\Roaming\GeoSetter\OSM\img |
|
I can't reproduce your solution! possible it is because of the settings in preference. the OSM folder and the map file is in program file x86 I have nothing in appdata/.../geosetter. I copied osm to Appdata/.../geosetter apply the mklink but nothing if it's solved for you, great. |
|
tilt !!! I think I understood why, on my side I created favorites of places but not from photos ! |
|
@all : wow! I have all downloaded but no time to test it. And i think, why you do not spend the time in Geosetter Simple? Geosetter - also with the next update - is really outdated. There will be no version 4. Geosetter 3 is outdated. It works until it doesn't work anymore. No thought of security gaps. @Motalf : xyzzy means, the image file is in the wrong folder. and by thinking, you can ignore local full path (appData). only relevant are relative paths. GeoSetter\OSM\img GeoSetter\img all right? @Motalf : you can here learn by yourself JavaScript: https://www.w3schools.com/js/default.asp For Leaflet there is not so good. OpelLayers have a very good example page and a very good documentation. Make it step by step. Learning by doing. |
|
@slart Geosetter Simple ( https://www.penultima.de/geo/) is not for me. The GeoSetter user interface is sufficient for me and I will remain faithful to it. :) You write that there will be no new version of GeoSetter? I'm glad I at least got this old version to work. So I won't even post any more GeoSetter problems here. |
|
@slart For the img file I will let 2, 3 days pass and I will resume in the clear! Often by doing this I find where I am stuck! For w3schools/js, I watch from time to time! I also go to stackoverflow.com and All JavaScript.com and others depending on what I'm looking for. totally agree, step by step and with practice. |
|
I moved the files under "C:\Program Files (x86)\GeoSetter" but if I don't make the "link", there is the same problem: the star does not appear when I click on a favorite . So I also did the following command: mklink /J "C:\Program Files (x86)\GeoSetter\img" "C:\Program Files (x86)\GeoSetter\OSM\img" but with admin rights |
|
This is how I create my favorites |
|
@xyzzy Why don't you use the portable version of the program? I don't have any problems with this, even if I move the GeoSetter directory to another drive. https://geosetter.de/update/geosetter.zip I see you put my work in there, so you should be good to go. That is, if you copied everything from my geosettermaps.html file. There's no problem with the OSM directory. |
|
Ok thanks to you 2! I was able to reproduce the problem and the solution actually when you click on the favorites icon on the map the popup is displayed but the icon inside is not displayed. with the mklink in admin the favorites icon in the popup is displayed next to the name of the favorites. It must be a grayed out part of the code in my opinion. see if the correction will be brought in version 3.5.xx |
|
The code in grey on the image is not displayed if it is html, and is not executed if it is a script. |
|
Oh, I've run into that problem of yours as well. I apologize. What I wrote before doesn't help. There will be a bug in the code. I'll test it. |
|
GeoSetter-2.rar (1,823,145 bytes) |
|
The path for the favorite.png file is directly specified in the GeoSetter.exe file. So I have edited everything necessary in my files so that it is already displaying correctly. It's already working. I did this by copying the entire contents of the archive to your GeoSetter directory. And in the map settings you just type this geosettermaps.html |
|
@ThunderBoy I think you used version 1.2 of "leaflet". Can you use the latest version (1.9)? |
|
@xyzzy I didn't even deal with that. Tomorrow this old one will be too. This is still from the Geosetter site. Also the json3 file is also older. Anyone who wants to can put new versions of these files in there. https://leafletjs.com/download.html and https://www.cdnpkg.com/json3/file/json3.js/ |
|
merci pour l'info! |
|
In case it is useful for someone: 1.- To change map type as we have always done (button in upper left corner of the map): -At the beginning of the script: var currenttile=null; tile0=L.tileLayer('http://...', {maxZoom:19,subdomains:['...'],attribution: '...'}); tile1=L.tileLayer('http://...', {maxZoom:19,subdomains:['...'],attribution: '...'}); tile2=L.tileLayer('http://...', {maxZoom:19,subdomains:['...'],attribution: '...'}); tile3=L.tileLayer('http://...', {maxZoom:19,subdomains:['...'],attribution: '...'}); tile4=L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {maxZoom:19,attribution: '...'}); - Instead of the fake function SetMapType(AMapType): function SetMapType(AMapType) { map.removeLayer(currenttile); if (AMapType == 0) {map.addLayer(tile0); currenttile=tile0;} else if (AMapType == 1) {map.addLayer(tile1); currenttile=tile1;} else if (AMapType == 2) {map.addLayer(tile2); currenttile=tile2;} else if (AMapType == 3) {map.addLayer(tile3); currenttile=tile3;} else if (AMapType == 4) {map.addLayer(tile4); currenttile=tile4;} else {map.addLayer(tile0); currenttile=tile0;} UpdateValues(); } - After map = L.map('map')....: map.addLayer(tile4); currenttile=tile4; You have to fill the variables tile0 to tile4 with the maps you want. For me five maps is enough, as we have always had. 2.- To find a location in the map: - After <script src="./tools/js/json3.js"></script>: <link rel="stylesheet" href="https://opengeo.tech/maps/leaflet-search/src/leaflet-search.css" /> <script src="https://opengeo.tech/maps/leaflet-search/src/leaflet-search.js"></script> - After map = L.map('map')....: var searchMarker = L.circleMarker([0,0],{radius:0}); searchControl= new L.Control.Search({url: 'https://nominatim.openstreetmap.org/search?format=json&q={s}', jsonpParam:'json_callback', propertyName:'display_name', propertyLoc:['lat','lon'], marker:searchMarker, autoCollapse:true, hideMarkerOnCollapse:true, autoType:false, minLength:2}); map.addControl(searchControl); You have to use the magnifying glass in the map, instead of the "Search box" at the bottom of the map window. |
|
@ Jllanos And we get the coordinates (latitude/longitude) how? |
|
Ok. I found: by clicking on a point on the map, the coordinates are displayed. Thanks |
|
@jllanos Thanks. It didn't work for me at first, but then I figured it out. Why doesn't it show the crosshair? I haven't figured that out. |
|
I have never seen this "cross" in the center of the card... |
|
In case it is useful for someone: 3.- To correct the "crosshair problem": - Replace old showCenterCross with: function showCenterCross(AShow) { document.getElementById("crosshair").style.left = Math.round(document.getElementById("map").clientWidth / 2) - 8+'px'; document.getElementById("crosshair").style.top = Math.round(document.getElementById("map").clientHeight / 2) - 8+'px'; if (AShow) document.getElementById("crosshair").style.visibility = 'visible'; else document.getElementById("crosshair").style.visibility = 'hidden'; } - Replace: if (window.attachEvent) { window.attachEvent('onresize', OnResizeWin); OnResizeWin(); } with: if (window.addEventListener) {window.addEventListener('onresize', OnResizeWin); OnResizeWin();} -Replace old OnResizeWin with: function OnResizeWin(event) { document.getElementById("crosshair").style.left = Math.round(document.getElementById("map").clientWidth / 2) - 8+'px'; document.getElementById("crosshair").style.top = Math.round(document.getElementById("map").clientHeight / 2) - 8+'px'; } - Replace (important): <div id="crosshair" style="position: absolute; z-index: 200; visibility: hidden;"> with: <div id="crosshair" style="position: absolute; z-index: 2000; visibility: hidden;"> I doubt crosshair ever worked. For me it is useless. |
|
Thanks to all. I've played around with it some more and it's perfect now. Everything works and it's better than Friedman's original version. :) I wanted to make buttons for those optional items to toggle when needed (Mouse position, Graticule, Scale) on the top right ... I've tried everything, but I'm not a programmer. I don't know shit about js. :( Anyone know how to fix this? For me it's a very useful thing. That is, if it's not a problem in the .exe file itself. https://geosetter.de/mantis/view.php?id=2384 |
|
@ThunderBoy: Forget about putting new buttons on the top right if you are speaking to put them in this bar (Screenshot_1.jpg). That bar belongs to the Geosetter.exe and this will not be changed. You can put all you want into the map itself, as shown in the "geosettermaps.html" with the 14 maps. |
|
@jllanos: I didn't mean in the bar. I know this belongs to the program itself. "14 maps" Shit, that didn't hit me at all. Thanks. I'll look into it another time. I've got other things to attend to. |
|
Do you mean something like this? Buttons.jpg (282,938 bytes) |
|
@xyzzy I made quite a few of these buttons myself, but I only had them for decoration. :D When I don't know how to implent there L.Control.BetterScale, L.Control.MousePosition ... |
|
Maybe with code like: var command = L.control({position: 'topright'}); command.onAdd = function (map) { var div = L.DomUtil.create('div'); div.innerHTML = '<div><form><input class="leaflet-control-layers-overlays" id="command" onclick=toggleBar(this.checked) type="checkbox">Toggle Bar</input></form></div>'; return div; }; command.addTo(map); //your map variable function toggleBar(bool) { if (bool){ bar.addTo(map); }else{ map.removeControl(bar); } } |
|
|
|
Better, but certainly not the best solution (I am not an expert in css and javascript) function toggleTool(bool, tool) { event.stopPropagation(); if (bool){ tool.addTo(map); }else{ map.removeControl(tool); } } in the "showMap3" function: edge = L.edgeScaleBar();//.addTo(map); //Will be added/removed by clicking on the corresponding "checkbox" bar = L.control.betterscale({ position: 'bottomleft', imperial: false, metric: true }); // bar.addTo(map); //Will be added/removed by clicking on the corresponding "checkbox" |
|
var command = L.control({position: 'topleft'}); command.onAdd = function (map) { var div = L.DomUtil.create('div'); div.innerHTML = '<div class="leaflet-container"><form> \ <input class="leaflet-control-layers-expanded leaflet-container" \ id="cmdBar" \ onclick="toggleTool(this.checked, bar)" \ type="checkbox">Bar</input> \ <input class="leaflet-control-layers-expanded leaflet-container" \ id="cmdEdge" \ onclick="toggleTool(this.checked, edge)" \ type="checkbox">Edge</input> \ </form></div>'; return div; }; command.addTo(map); //your map variable |
|
Correction for ESri-OSM and Google-OSM v1 and v2 ------------------------------------------------ 1st --- Copy waypoint.png to OSM/img and rename it to marker_waypoint.png correct in the 1/4 file 'img/marker_waypoint.png' to 'OSM/img/marker_waypoint.png Correct @jllanos's Code for crosshair in the center of the map, here: https://www.geosetter.de/mantis/view.php?id=2383#c4143 I can't check the rest, I don't have a gps track file with the photos corresponding to the file. 2nd --- replace at the top of the map file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" class=" ixigspl idc0_344"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="expires" content="604800"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> By <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> Crosshair Works Great! I will see later to modify the @jllanos's Code from tile0 to tile4 marker_waypoint.zip (2,562 bytes) |
|
|
|
clip Screenshot Video here : https://drive.google.com/file/d/1rpumxnO_lJBH-ZDoTJJZs0SeFcu__qq0/view?usp=share_link clip Crosshair Clip favorite popup clip Marker_wayPoint |
|
Thanks @xyzzy. Finally it works for me according to your script. I've added some more stuff in there. How would you do it the other way around. That would activate all plugins first and I will deactivate the one I don't need right now. @Motalf I've never tried Traces. It's pretty handy sometimes. In the map log it throws me errors (80020101): clearSelectedWaypointName() and zoomRectangle2. |
|
@ThunderBoy In the simplest way, in my opinion, it is to add the controls to the 'map' (i.e. do not comment on the ".addto (map)" and add checked = "true" when creating the <Input ...>: like this: <Input .... checked = "True" .../> |
|
edge = L.edgeScaleBar().addTo(map); bar = L.control.betterscale({ position: 'bottomleft', imperial: false, metric: true }); bar.addTo(map); var command = L.control({position: 'topleft'}); command.onAdd = function (map) { var div = L.DomUtil.create('div'); div.innerHTML = '<div class="leaflet-container"><form> \ \ <input class="leaflet-control-layers-expanded leaflet-container" \ id="cmdBar" \ onclick="toggleTool(this.checked, bar)" \ type="checkbox" checked="true">Bar</input> \ \ <input class="leaflet-control-layers-expanded leaflet-container" \ id="cmdEdge" \ onclick="toggleTool(this.checked, edge)" \ type="checkbox" checked="true">Edge</input> \ \ </form></div>'; return div; }; command.addTo(map); //your map variable |
|
To create a track file, select photos with GPS coordinates and in the File menu select "Export to GPX Track File |
|
I made a little mistake in the answer 4155. 'true' must be in Lower Case |
|
@ThunderBoy I noticed that for Marker_waypoint.png, an image is missing on the geosetter server. (I can't find it) so I didn't touch it but it stayed in my memory. as I don't have a GPS track file, I opened a poi file for gps in .gpx I saw that the waypoints icon on the map was missing. In the popup of a waypoint there was the waypoint.png icon, this is where I remembered the missing image and copied waypoint to Marker_waypoint. it was solved! I also loaded a route file (in a route format) the track was displayed. I also got the error when I click on a waipoint to display the popup. I can't say where it comes from since I can't link a photo to a trace or if it comes from elsewhere then I can go no further! @xyzzy I'll check it out, thanks ;) |
|
@xyzzy It's working. Thanks again. I've already got it more sophisticated than on Google Earth. :D @Motalf When you zoom in on all the routes with a magnifying glass, it shows the second error. |
|
@ThunderBoy I removed the greyed out code, made some corrections In the gmap layer provider I had 2 times maxZoom, corrected function showMap() replaced 13 by 19 function showMap2() replaced 13 by 19 maxZoom at 19 minZoom at 6 modified crosshair with code from jllanos's map_Gmap-OSM_2map_Only v3.zip (81,603 bytes) map_Esri-OSM_2map_Only v3.zip (81,568 bytes) |
|
I had a Zoom problem with gps track mode and Carto DB by changing the maxZoom to 19 and the minZoom from 4 to 6 it solved my problem otherwise I didn't notice anything on my side |
|
Does anyone know the structure of ".gst" files? There is no "clearSelectedWaypointName()" function in the code. Does anyone know what this function is for? |
|
@ThunderBoy I know what you mean about the zoom on the track. @all For my part I stop here, I wait that Friedmann brings the modifications on the next version 3.5.xx I reported another bug for me the map works! I tested with the map-google.html file on the server and I find the same problem. http://map.geosetter.de/v3/map_google.html then it's the code between Geosetter and the leaflet script that needs to be edited. |
|
The first error occurs when opening any GPS file. It doesn't matter what the scale of the displayed map is. There is no problem there. In my opinion, the map should adjust to points when opening any file. That seems to be the problem. The second error occurs when I just click the mouse on any point. Does it do this to you as well? As @xyzzy wrote clearSelectedWaypointName() is not defined anywhere. When I added it like that, it no longer throws an error. Whether this is good I have no idea. :) function clearSelectedWaypointName() { document.getElementById("current_waypoint").innerHTML = ""; } errorGS.jpg (408,808 bytes) |
|
In case it is useful for someone: 4.- In case you usually zoom in/out the map with the mouse wheel, maybe you would like to remove the +/- button of the map. The map look more clean : - Replace map = L.map('map').... with map = L.map('map',{zoomControl:false})... |
|
As for Motalf, I'll stop here and wait for the new version of Friedmann's GeoSetter. A+ |
|
@jllanos There would be better to add a button to return to the starting position of the map instead. As specified in the map_google.html file. Especially when I have high magnification. I wouldn't have to wiggle the mouse wheel so much. :) This could also be applied in the future directly in Geosetter.exe |
|
I've already applied it there myself, so I don't need to deal with it anymore. Clicking the button returns the map to the default view. |
|
I am attaching my latest working version for Geosetter 3.5.3 with all the modifications discussed in this thread. For further information: https://geosetter.de/mantis/view.php?id=2383#c4116 I have edited everything into my native language. GeoSetter - final.rar (155,590 bytes) |
|
Thank you Friedemann for the new version 4. It's great. The maps are working ... ... but not OSM on a Windows 7 system. I konow you wrote at this will happen. Anyone a simple solution for OSM an Windows 7?! |
|
@Erik I've already written to the boss. You need to change the map layer. File > Settings > Map > Map Address and Layers > Map Layers. Select Openstreet map and change the Layer URL to: http://{s}.tile.osm.org/{z}/{x}/{y}.png |
|
hello ! while waiting for the corrections of version 4.04 I use Exiftool it's longer but it works like geosetter I use a local web page I enter the data in the 3 tables and one button per table shows me the line to put in Exiftool(<enter line here>).exe see picture below Coordonnées GPS rename Exiftool file Exiftool().exe to Exiftool(-GPSLongitudeRef=E -GPSLongitude=48.853326 -GPSLatitudeRef=N -GPSLatitude=48.853326).exe Altitude et Orientation rename Exiftool file Exiftool().exe to Exiftool(-GPSImgDirectionRef=T -GPSImgDirection=110.22 -GPSAltitudeRef=0 -GPSAltitude=34.82).exe Coordonnées GPS Destination rename Exiftool file Exiftool().exe to Exiftool(-GPSDestLongitudeRef=E -GPSDestLongitude=2.349063 -GPSDestLatitudeRef=N -GPSDestLatitude=48.853266).exe and drag the image to the exiftool file of course! for a dozen images it helps |
|
If interested here is the zip GeotagExiftool.zip (31,735 bytes) |
|
I believe that one can do this and even more with GeoSetter. 1-By selecting a source image, 2-make a "Copy Data to Clipboard". 3-Then select the destination images 4-make a "Paste Data from Clipboard" 5-Select the items to copy in "Paste from Clipboard" |
|
@ThunderBoy Thank you! That was easy and works! |
|
@xyzzy I'll take a closer look when I reinstall Geosetter. I stop by from time to time to see the progress of bug fixes. with exiftool we can also do it with a csv file, I'm studying that more other things. |
|
Hello! This discussion is essentially about the official GeoSetter version. However, I have taken a few suggestions for the current beta version 4 from here, many thanks to you, especially to @xyzzy and @Motalf and of course all others too!!! I have now added a few map types, but I am not sure which ones I will actually use in the final version. Then I copied the ScaleBar :-) I am unsure about Windows 7. If I have understood correctly, is it enough for OSM to change the address to http://{s}.tile.osm.org/{z}/{x}/{y}.png? I have done that. Maybe I've over-read something here, so please feel free to point out important things again! :-D The version 4.0.41 beta can be downloaded here: https://www.geosetter.de/update/geosetter_beta.exe |
|
@Friedemann The OSM layer change for Windows 7 works, but I have no idea if it works on newer versions of Windows. The things I used to use in the map view (plugins and map edits) are not yet used in the newer versions of the program. I don't want to keep editing the map.html file. Plugins don't need to be added there. But the scalebar can be there. It is suitable there. The other plugins would be up to everyone, when they can be edited/added directly in GS (without interfering with map.html), as I wrote here https://geosetter.de/mantis/view.php?id=2401 But it's up to you. I noticed while translating the program that it's already starting to be prepared :) In my opinion, the + and - buttons on the map are completely unnecessary. Everyone already uses the mouse wheel for that. If we don't like something, we figure it out and discard it. :D |
|
on geosetter v 4.0.xx ditto I had to replace the OSM provider Map OSM in w7.JPG (429,421 bytes) |
|
Maps Mappy.cz not visible on w7 ! for the rest of the maps impeccable the option button is a good idea for zoom or scale ! |
|
@ThunderBoy, you can switch the zoom buttons now off in the submenu right in the map toolbar (or the main menu) @Motalf, regarding " I had to replace the OSM provider": I did it now for all in 4.0.41. And I will remove the Maps Mappy.*, at the moment I don't see anything there with Windows 11. BTW: Im developing GeoSetter in a VM with Windows 10 and working with it on my main PC with Widnows 11. |
|
I don't think mapy.cz is going anywhere anymore. They already have it taken care of. They worked for me for a while though. I couldn't get them to work. They will only go directly through www.mapy.cz |
|
@Friedemann I hope the program will remember the setting. I don't feel like turning them off regularly. :) Also custom objects are not fixed yet and for some time they were displayed automatically after restarting the program. Now they have become inactive! |
|
@Friedemann It's already in version 4.0.41 and it works too. But I don't use the last version of GS because Flat Mode with filters doesn't work there and I need it now. I'm attaching the current map file. These maps are all working for me under Windows 7. Most of them are for the whole world. I think they could all be used in the program. Check it out and edit the map addresses because some of them don't work in the latest version or use this file. map_layers.xml (5,485 bytes) |
|
The OSM Topo map doesn't display at closest zoom. One click out is okay. (GeoSetter 4.0.41 / Win10) It could be that the map tiles just aren't loading, but I waited what seemed an adequate amount of time. I'm looking in upstate New York, USA (43.07968050 -74.12934239) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-02 18:19 | Motalf | New Issue | |
2022-12-02 18:19 | Motalf | File Added: OSM.JPG | |
2022-12-02 18:19 | Motalf | File Added: map_google.zip | |
2022-12-02 18:33 | Motalf | File Added: osm 2.JPG | |
2022-12-02 18:33 | Motalf | Note Added: 0004078 | |
2022-12-02 18:42 | Motalf | File Added: map_google v2.zip | |
2022-12-02 18:42 | Motalf | Note Added: 0004079 | |
2022-12-02 21:57 | ThunderBoy | Note Added: 0004080 | |
2022-12-02 21:59 | ThunderBoy | File Added: Geosetter.jpg | |
2022-12-02 21:59 | ThunderBoy | File Added: map_google.rar | |
2022-12-03 00:54 | Motalf | File Added: Map Sat.JPG | |
2022-12-03 00:54 | Motalf | Note Added: 0004081 | |
2022-12-03 01:00 | Motalf | File Added: Map Sat 2.JPG | |
2022-12-03 01:00 | Motalf | Note Added: 0004082 | |
2022-12-03 01:34 | Motalf | Note Added: 0004083 | |
2022-12-06 00:19 | slart | Note Added: 0004084 | |
2022-12-06 21:46 | slart | Note Added: 0004085 | |
2022-12-06 22:52 | Motalf | Note Added: 0004086 | |
2022-12-06 23:39 | slart | Note Added: 0004087 | |
2022-12-07 00:21 | xyzzy | Note Added: 0004088 | |
2022-12-07 00:52 | Motalf | File Added: Folder Local.zip | |
2022-12-07 00:52 | Motalf | Note Added: 0004089 | |
2022-12-07 01:07 | Motalf | File Added: Folder Locoal.zip | |
2022-12-07 01:07 | Motalf | Note Added: 0004090 | |
2022-12-07 14:13 | Erik | Note Added: 0004091 | |
2022-12-07 21:41 | DenisPac | Note Added: 0004092 | |
2022-12-07 21:56 | Motalf | File Added: map_esri-osm.zip | |
2022-12-07 21:56 | Motalf | File Added: map_google-osm.zip | |
2022-12-07 21:56 | Motalf | Note Added: 0004093 | |
2022-12-07 22:02 | Motalf | File Added: image_1.jpg | |
2022-12-07 22:02 | Motalf | Note Added: 0004094 | |
2022-12-07 22:23 | Motalf | File Added: Zoom Map Leaflet.xlsx | |
2022-12-07 22:23 | Motalf | Note Added: 0004095 | |
2022-12-08 03:01 | Motalf | File Added: maxZoom with Google.JPG | |
2022-12-08 03:01 | Motalf | Note Added: 0004096 | |
2022-12-08 09:54 | ThunderBoy | Note Added: 0004097 | |
2022-12-08 17:50 | gbger | Note Added: 0004098 | |
2022-12-08 20:47 | slart | Note Added: 0004099 | |
2022-12-08 20:55 | slart | Note Added: 0004100 | |
2022-12-08 23:16 | Motalf | Note Added: 0004101 | |
2022-12-09 05:16 | Motalf | File Added: Attrib Google Original.jpg | |
2022-12-09 05:16 | Motalf | Note Added: 0004102 | |
2022-12-09 05:18 | Motalf | File Added: Attrib Google replace.jpg | |
2022-12-09 05:18 | Motalf | Note Added: 0004103 | |
2022-12-09 05:39 | xyzzy | File Added: map_google.html | |
2022-12-09 05:39 | xyzzy | Note Added: 0004104 | |
2022-12-09 05:53 | Motalf | Note Added: 0004105 | |
2022-12-09 08:55 | Motalf | File Added: Attrib google.JPG | |
2022-12-09 08:55 | Motalf | Note Added: 0004106 | |
2022-12-09 10:18 | ThunderBoy | File Added: map.jpg | |
2022-12-09 10:18 | ThunderBoy | Note Added: 0004107 | |
2022-12-09 11:05 | Motalf | File Added: map_google-2.zip | |
2022-12-09 11:05 | Motalf | Note Added: 0004108 | |
2022-12-09 11:12 | ThunderBoy | Note Added: 0004109 | |
2022-12-09 14:46 | xyzzy | File Added: map_google-3.rar | |
2022-12-09 14:46 | xyzzy | Note Added: 0004110 | |
2022-12-09 14:47 | xyzzy | File Added: map_google-3.zip | |
2022-12-09 14:50 | xyzzy | File Added: Favorite Cities.jpg | |
2022-12-09 15:58 | Motalf | File Added: map_Gmap-OSM_2map_Only.zip | |
2022-12-09 15:58 | Motalf | File Added: map_Esri-OSM_2map_Only.zip | |
2022-12-09 15:58 | Motalf | Note Added: 0004111 | |
2022-12-09 17:33 | xyzzy | Note Added: 0004112 | |
2022-12-10 03:30 | Motalf | File Added: map scale.jpg | |
2022-12-10 03:30 | Motalf | Note Added: 0004113 | |
2022-12-10 05:16 | xyzzy | File Added: download.png | |
2022-12-10 05:16 | xyzzy | Note Added: 0004114 | |
2022-12-10 06:09 | Motalf | Note Added: 0004115 | |
2022-12-10 13:26 | ThunderBoy | File Added: GeoSetter.rar | |
2022-12-10 13:26 | ThunderBoy | File Added: GeoSetter-1.jpg | |
2022-12-10 13:26 | ThunderBoy | File Added: GeoSetter-2.jpg | |
2022-12-10 13:26 | ThunderBoy | File Added: GeoSetter-3.jpg | |
2022-12-10 13:26 | ThunderBoy | Note Added: 0004116 | |
2022-12-10 13:27 | xyzzy | File Added: Missing Favorite Image-2.jpg | |
2022-12-10 13:27 | xyzzy | Note Added: 0004117 | |
2022-12-10 15:32 | Motalf | Note Added: 0004118 | |
2022-12-10 15:36 | Motalf | File Added: Icons menu map.JPG | |
2022-12-10 15:37 | xyzzy | Note Added: 0004119 | |
2022-12-10 15:42 | Motalf | File Added: image_2.jpg | |
2022-12-10 15:42 | Motalf | Note Added: 0004120 | |
2022-12-10 15:47 | xyzzy | File Added: Missing Favorite Image-3.jpg | |
2022-12-10 15:47 | xyzzy | Note Added: 0004121 | |
2022-12-10 15:55 | xyzzy | Note Added: 0004122 | |
2022-12-10 17:50 | Motalf | Note Added: 0004123 | |
2022-12-10 17:59 | Motalf | Note Added: 0004124 | |
2022-12-10 20:05 | slart | Note Added: 0004125 | |
2022-12-10 20:46 | ThunderBoy | Note Added: 0004126 | |
2022-12-11 03:13 | Motalf | Note Added: 0004127 | |
2022-12-11 04:31 | xyzzy | Note Added: 0004128 | |
2022-12-11 04:39 | xyzzy | File Added: Add favorite.jpg | |
2022-12-11 04:39 | xyzzy | Note Added: 0004129 | |
2022-12-11 07:32 | ThunderBoy | Note Added: 0004130 | |
2022-12-11 07:40 | Motalf | Note Added: 0004131 | |
2022-12-11 08:15 | Motalf | File Added: Graycode.JPG | |
2022-12-11 08:15 | Motalf | Note Added: 0004132 | |
2022-12-11 09:53 | ThunderBoy | Note Added: 0004133 | |
2022-12-11 12:09 | ThunderBoy | File Added: GeoSetter-2.rar | |
2022-12-11 12:09 | ThunderBoy | Note Added: 0004134 | |
2022-12-11 14:58 | xyzzy | Note Added: 0004135 | |
2022-12-11 17:08 | ThunderBoy | Note Added: 0004136 | |
2022-12-11 17:17 | xyzzy | Note Added: 0004137 | |
2022-12-11 17:50 | jllanos | Note Added: 0004138 | |
2022-12-11 20:10 | xyzzy | Note Added: 0004139 | |
2022-12-11 20:23 | xyzzy | File Added: Search.jpg | |
2022-12-11 20:23 | xyzzy | Note Added: 0004140 | |
2022-12-12 00:27 | ThunderBoy | Note Added: 0004141 | |
2022-12-12 02:57 | xyzzy | Note Added: 0004142 | |
2022-12-12 15:59 | jllanos | Note Added: 0004143 | |
2022-12-12 16:46 | ThunderBoy | File Added: Final-TB.jpg | |
2022-12-12 16:46 | ThunderBoy | Note Added: 0004144 | |
2022-12-12 17:38 | jllanos | File Added: Screenshot_1.jpg | |
2022-12-12 17:38 | jllanos | Note Added: 0004145 | |
2022-12-12 18:05 | ThunderBoy | Note Added: 0004146 | |
2022-12-12 18:48 | xyzzy | File Added: Buttons.jpg | |
2022-12-12 18:48 | xyzzy | Note Added: 0004147 | |
2022-12-12 19:01 | ThunderBoy | Note Added: 0004148 | |
2022-12-13 15:46 | xyzzy | Note Added: 0004149 | |
2022-12-13 16:46 | xyzzy | File Added: Bar Edge.jpg | |
2022-12-13 18:49 | xyzzy | Note Added: 0004150 | |
2022-12-13 18:50 | xyzzy | Note Added: 0004151 | |
2022-12-13 20:08 | Motalf | File Added: marker_waypoint.zip | |
2022-12-13 20:08 | Motalf | Note Added: 0004152 | |
2022-12-13 20:49 | Motalf | File Added: OSM-img.jpg | |
2022-12-13 22:11 | Motalf | Note Added: 0004154 | |
2022-12-13 22:56 | ThunderBoy | Note Added: 0004155 | |
2022-12-13 23:10 | xyzzy | Note Added: 0004156 | |
2022-12-13 23:12 | xyzzy | Note Added: 0004157 | |
2022-12-13 23:17 | xyzzy | Note Added: 0004158 | |
2022-12-13 23:22 | xyzzy | Note Added: 0004159 | |
2022-12-13 23:57 | Motalf | Note Added: 0004160 | |
2022-12-14 00:03 | ThunderBoy | Note Added: 0004161 | |
2022-12-14 00:51 | Motalf | File Added: map_Gmap-OSM_2map_Only v3.zip | |
2022-12-14 00:51 | Motalf | File Added: map_Esri-OSM_2map_Only v3.zip | |
2022-12-14 00:51 | Motalf | Note Added: 0004162 | |
2022-12-14 00:56 | Motalf | Note Added: 0004163 | |
2022-12-14 06:24 | xyzzy | Note Added: 0004164 | |
2022-12-14 10:28 | Motalf | Note Added: 0004167 | |
2022-12-14 11:35 | ThunderBoy | File Added: errorGS.jpg | |
2022-12-14 11:35 | ThunderBoy | Note Added: 0004168 | |
2022-12-14 15:15 | jllanos | Note Added: 0004169 | |
2022-12-15 00:13 | xyzzy | Note Added: 0004170 | |
2022-12-15 17:20 | ThunderBoy | Note Added: 0004176 | |
2022-12-15 21:17 | ThunderBoy | Note Added: 0004179 | |
2022-12-21 09:31 | Friedemann | Status | new => assigned |
2022-12-21 09:31 | Friedemann | Assigned To | => Friedemann |
2022-12-21 09:33 | ThunderBoy | File Added: GeoSetter - final.rar | |
2022-12-21 09:33 | ThunderBoy | Note Added: 0004240 | |
2022-12-21 12:09 | Erik | Note Added: 0004248 | |
2022-12-21 12:33 | ThunderBoy | Note Added: 0004250 | |
2022-12-21 14:19 | Motalf | File Added: GeotaggWhithExiftool.JPG | |
2022-12-21 14:19 | Motalf | Note Added: 0004251 | |
2022-12-21 14:29 | Motalf | File Added: GeotagExiftool.zip | |
2022-12-21 14:29 | Motalf | Note Added: 0004252 | |
2022-12-21 15:02 | xyzzy | File Added: Copy Paste-3.jpg | |
2022-12-21 15:02 | xyzzy | File Added: Copy Paste-1.jpg | |
2022-12-21 15:02 | xyzzy | File Added: Copy Paste-2.jpg | |
2022-12-21 15:02 | xyzzy | Note Added: 0004253 | |
2022-12-21 15:03 | Erik | Note Added: 0004254 | |
2022-12-21 21:14 | Motalf | Note Added: 0004257 | |
2023-02-05 16:36 | Friedemann | Note Added: 0004535 | |
2023-02-05 16:37 | Friedemann | Note Edited: 0004535 | View Revisions |
2023-02-05 16:38 | Friedemann | Note Edited: 0004535 | View Revisions |
2023-02-05 17:43 | ThunderBoy | Note Added: 0004536 | |
2023-02-05 19:35 | Motalf | File Added: Map OSM in w7.JPG | |
2023-02-05 19:35 | Motalf | Note Added: 0004539 | |
2023-02-05 19:58 | Motalf | Note Added: 0004540 | |
2023-02-05 23:10 | Friedemann | Note Added: 0004541 | |
2023-02-05 23:25 | ThunderBoy | Note Added: 0004542 | |
2023-02-05 23:34 | ThunderBoy | Note Added: 0004543 | |
2023-02-06 00:31 | ThunderBoy | File Added: map_layers.xml | |
2023-02-06 00:31 | ThunderBoy | Note Added: 0004544 | |
2023-02-06 17:42 | makowiec | Note Added: 0004547 | |
2023-02-25 12:34 | Friedemann | Status | assigned => resolved |
2023-02-25 12:34 | Friedemann | Resolution | open => fixed |