Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
MOBAC + Sources Cartes diverses
Goto page Previous  1, 2, 3 ... 38, 39, 40
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Français
View previous topic :: View next topic  
Author Message
lepine



Joined: 30 Mar 2016
Posts: 7

PostPosted: Mon Nov 13, 2017 6:33 pm    Post subject: Reply with quote

Un grand merci GUEST, car enfin le fichier est bien OK.
Cordialement à vous tous pour votre participation et votre dévouement.
François
Back to top
View user's profile Send private message
gooleoka



Joined: 07 Jul 2015
Posts: 41

PostPosted: Mon Nov 13, 2017 7:10 pm    Post subject: Reply with quote

lepine wrote:
Error:Lexical error at line 1, column 1. Encountered:"\ufeff" (65279),after:""
L'erreur devait provenir de l'encodage du fichier : compare le bon et le mauvais fichier avec un éditeur de texte genre Notepad++
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4700

PostPosted: Thu Nov 16, 2017 10:24 am    Post subject: Reply with quote

Bonjour,
mon fichier bsh pour les spot 2014 ne fonctionne plus -> croix rouge.

Quelqu'un pourrait me passer une source valide?

Merci d'avance...
Back to top
View user's profile Send private message Visit poster's website
gooleoka



Joined: 07 Jul 2015
Posts: 41

PostPosted: Thu Nov 16, 2017 12:30 pm    Post subject: SPOT 6 (2014) Reply with quote

spot-6-2014.bsh
Code:
// https://www.geoportail.gouv.fr/donnees/spot-6-2014

name = "SPOT 6 (2014)";
String Layer = "ORTHOIMAGERY.ORTHO-SAT.SPOT.2014";
String Format = "image%2Fjpeg";
tileType = "jpg";
maxZoom = 17;

String getTileUrl( int Zoom, int X, int Y ) {
return "http://wxs.ign.fr/an7nvfzojv5wa96dsga5nk8w/geoportail/wmts?layer="+Layer+"&style=normal&tilematrixset=PM&Service=WMTS&Request=GetTile&Version=1.0.0&Format="+Format+"&TileMatrix="+Zoom+"&TileCol="+X+"&TileRow="+Y;
}
void addHeaders( java.net.HttpURLConnection conn) {
conn.addRequestProperty("User-Agent","Mozilla/5.0 Gecko/20100101");
}

Marche aussi avec 2015 et 2016
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4700

PostPosted: Thu Nov 16, 2017 2:49 pm    Post subject: Reply with quote

Un grand merci ça fonctionne impeccable...
Comment vous faites pour connaître les noms et les structures de fichiers qui fonctionnent?
Back to top
View user's profile Send private message Visit poster's website
gooleoka



Joined: 07 Jul 2015
Posts: 41

PostPosted: Thu Nov 16, 2017 5:28 pm    Post subject: Reply with quote

guest wrote:
Comment vous faites pour connaître les noms et les structures de fichiers qui fonctionnent?

Fiddler
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4700

PostPosted: Fri Nov 17, 2017 11:02 am    Post subject: Reply with quote

F12 (la console) sous FireFox aussi.
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4700

PostPosted: Fri Nov 17, 2017 2:26 pm    Post subject: Reply with quote

j'ai un peu essayé les 2 méthodes mais je ne vois pas comment trouver les noms...
Back to top
View user's profile Send private message Visit poster's website
gooleoka



Joined: 07 Jul 2015
Posts: 41

PostPosted: Fri Nov 17, 2017 5:29 pm    Post subject: Reply with quote

C'est effectivement Firefox le plus simple pour récupérer l'url des tuiles :
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Français All times are GMT
Goto page Previous  1, 2, 3 ... 38, 39, 40
Page 40 of 40

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group