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 ... 52, 53, 54
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Français
View previous topic :: View next topic  
Author Message
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Mon Apr 15, 2019 4:06 pm    Post subject: CADASTRE.GOUV Reply with quote

Bonjour,
J'ai ce fichier XML ...

<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>cadastre.gouv via OSM</name>
<minZoom>2</minZoom>
<maxZoom>22</maxZoom>
<tileType>PNG</tileType>

<url>http://tms.cadastre.openstreetmap.fr/*/tout/{$z}/{$x}/{$y}.png</url>

<ignoreErrors>true</ignoreErrors>
<backgroundColor>#00000000</backgroundColor>
</customMapSource>


... qui permettait d'obtenir le cadastre de "cadastre.gouv" via Openstreetmap sur MOBAC, mais il ne fonctionne plus.

Un remède ?
Merci.
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Mon Apr 15, 2019 7:59 pm    Post subject: Reply with quote

Quote:
Un remède ?


En Page 49

https://www.trekbuddy.net/forum/viewtopic.php?t=7215&postdays=0&postorder=asc&start=720
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Tue Apr 16, 2019 6:23 am    Post subject: CADASTRE.GOUV Reply with quote

Merci pour la promptitude de la réponse.
Ce qui m'intéresse, en fait, ce n'est pas la version du Plan Cadastral Informatisé via l'IGN mais la version originelle du plan cadastral via CADASTRE.GOUV de la DGFIP.
Ci-dessous, un exemple montrant la différence des deux versions.



IGN Parcellaire Express (PCI).jpg
 Description:
 Filesize:  95.32 KB
 Viewed:  389 Time(s)

IGN Parcellaire Express (PCI).jpg



Cadastre.gouv.jpg
 Description:
 Filesize:  98.76 KB
 Viewed:  389 Time(s)

Cadastre.gouv.jpg


Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Thu Apr 18, 2019 10:13 am    Post subject: Reply with quote

guest wrote:
[OpenFlightMaps]
Code:

   import java.util.Date;
   import java.text.SimpleDateFormat;
   Date d = new Date();
   SimpleDateFormat sdf = new SimpleDateFormat("yyMM");
   String datestamp = sdf.format(d);

   name = "OFM Openflightmaps"; //Ce code ne marche pas
   
   
    tileType = "png";
    tileSize = 256;
    minZoom = 4;
    maxZoom = 11;
   
    String getTileUrl( int zoom, int x, int y )
    {
       return "http://snapshots.openflightmaps.org/live/"+datestamp+"/tiles/world/noninteractive/epsg3857/merged/256/latest/"+zoom+"/"+x+"/"+y+".png";
    }



L'occasion en repiquant le code pour l'AIRAC de faire marcher une autre carte aéro, un peu moins détaillée mais sur toute la planète, SkyVector :
Code:
   import java.util.Date;
   import java.text.SimpleDateFormat;
   Date d = new Date();
   SimpleDateFormat sdf = new SimpleDateFormat("yyMM");
   String datestamp = sdf.format(d);

    name = "OACI SkyVector";
       
    tileType = "jpg";
    tileSize = 256;
    minZoom = 1;
    maxZoom = 11;
   
    stamp = "V7pMh4zRihflnr61";
   
    String getTileUrl( int zoom, int x, int y )
    {
      zoom = (23 - 2*zoom) ;
        return "https://t.skyvector.com/"+stamp+"/301/"+datestamp+"/"+zoom+"/"+x+"/"+y+".jpg";
    }
   
   
    void addHeaders( java.net.HttpURLConnection conn) {
      conn.addRequestProperty("Referer","https://skyvector.com/");
    }




Sinon, pour le cadastre, c'est peut-être un souci avec les serveurs OSM car chez moi la carte OSM de base ne marche plus non plus.
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Thu Apr 18, 2019 10:52 am    Post subject: Reply with quote

Ou alors c'est une conspiration généralisée, parce que chez moi le PCI Express ne marche plus non plus (la BDParcellaire classique marche par contre).
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Sat Apr 20, 2019 12:30 pm    Post subject: Reply with quote

Bonjour,
quelqu'un aurait-il un .bsh a jour pour les cartes marines Navionics.
le bsh ci-dessous donne des croix rouges.
[code]
name = "Assemblage des cartes marines (RasterMarine)";
String Layer = "RASTER_MARINE_3857_WMTS";
String Format = "image%2Fpng";
tileType = "png";
minZoom = 6;
maxZoom = 14;

String getTileUrl( int Zoom, int X, int Y ) {
return "http://services.data.shom.fr/clevisu/wmts?layer="+Layer+"&style=normal&tilematrixset=3857&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 Firefox/49.0");
conn.addRequestProperty("Referer","http://data.shom.fr");
}
[/code]
Merci
OH
PS: désolé pour le format de code tout pourri...
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4937

PostPosted: Tue Apr 23, 2019 6:29 am    Post subject: Reply with quote

Bonjour,

quelqu'un aurait-il un .bsh pour la carte aero de Skydreamsoft?
le bsh ci-dessous donne des croix rouges.

name = "OACI skydreamsoft";
tileType = "png";
tileSize = 256;
minZoom = 0;
maxZoom = 18;
String getTileUrl( int Zoom, int X, int Y ) {
return "https://sdoaci.skydreamsoft.fr/FRANCE/"+zoom+"/"+X+"/"+Y+".png";
}
void addHeaders( java.net.HttpURLConnection conn) {
conn.addRequestProperty("User-Agent","Mozilla/5.0 Gecko/20100101");
}

Merci d'avance
Back to top
View user's profile Send private message Visit poster's website
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 ... 52, 53, 54
Page 54 of 54

 
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