Los de Google Earth están constantemente cambiando la url como defensa ante los programillas de descarga masiva de teselas, pero, curiosamente, el Google Híbrido no lo tocan. LLevo tiempo con el mismo xml y sigue funcionando. Se supone que son las mismas ortofotos que el Google satélite normal.
Muy buenas Para el Sigpac tengo el siguiente .bsh: name = "SIGPAC Visor-50"; tileType = "jpg"; tileSize = 256; minZoom = 5; maxZoom = 19; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#ffffff"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { if (zoom == 5) { y = 31 - y; return "http://tilesserver.magrama.es/sdg/raster/mtnsigpac" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 6) { y = 63 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 7) { y = 127 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 8) { y = 255 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 9) { y = 511 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 10) { y = 1023 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 11) { y = 2047 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 12) { y = 4095 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 13) { x = x - 3663; y = y - 2978; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 14) { x = x - 7327; y = y - 5957; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 15) { y = 32767 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 16) { y = 65535 - y; return "http://tilesserver.magrama.es/sdg/raster/mtn25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 17) { y = 131071 - y; return "http://tilesserver.magrama.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 18) { y = 262143 - y; return "http://tilesserver.magrama.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 19) { y = 524287 - y; return "http://tilesserver.magrama.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } } Pues resulta que no se ve y he estado mirando el pequeño tutorial de Zaidin en la página 12 de este foro para ver cual podía ser el problema así que instale Fiddler y siguiendo sus pasos he visto que ha cambiado la URL de las teselas y creo que son estas: http://sigpac.mapama.gob.es/sdg/raster/mtnsigpac@3875/5.15.19.img http://sigpac.mapama.gob.es/sdg/raster/ortofoto@3857/14.8270.10255.img He procedido a cambiar las url en el archivo .bsh pero no consigo que se vea y en el apartado raster se ve la pantalla negra y en ortofotos siguen saliendo las cruces así que necesito una ayuda sobre lo que hago mal. Muchas gracias por anticipado y saludos cordiales
Hola, No me funcionan ninguna de las fuentes de IGN o IBERPIX, ni siquiera las creadas por Zaidin (solo la parte de microsoft) ¿Alguien sabe si han cambiado las fuentes? Como solucionarlo. Gracias
Esta tarde han estado de mantenimiento en el CNIG y a mi tampoco me funcionaba el wms del PNOA... Pero parece que ya va de nuevo. Quizá fuera eso? http://digimapas.blogspot.com
Ahora mismo de SIGPAC by Zaidin no me van los zoom 15 y 16 de SIGPAC Visor no me vna los zoom 14 y 15 El resto parece que ahora si van.
Muy buenas Como he puesto en un post anterior el SIGPAC no se ve y he mirado con Fiddler y por lo que he podido ver han cambiado la URL interna y una vez modificado el .bsh que tengo poniendo la URL nueva no he conseguido nada por eso he puesto el post para que los maestros en estos temas nos puedan echar un cable para ver la manera de solucionarlo. Saludos
Yo los bsh esos no los he hecho nunca... Por si sirve de algo la URL del WMS del SIGPAC que yo conozco y que parece la oficial es http://wms.magrama.es/wms/wms.aspx? y es la que tengo en SASPlanet, donde el SIGPAC funciona, lentísimo como siempre, eso si, pero acaba cargando depende los ratos (desesperante las más de las veces). Supongo que hacer un xml para MOBAC debería funcionar, ahí está el archivo de capacidades por si acaso... http://wms.magrama.es/wms/wms.aspx?request=GetCapabilities&service=WMS Y si el contenido del otro sitio nada tiene que ver con este, pues no he dicho nada, jaja... Saludos!
Muy buenas Al final lo he conseguido y ya tengo operativo el SIGPAC Las URL correctas para modificar el SIGPAC.bsh con los diferentes zoon son: http://sigpac.mapama.gob.es/sdg/raster/mtnsigpac http://sigpac.mapama.gob.es/sdg/raster/mtn2000 http://sigpac.mapama.gob.es/sdg/raster/mtn200 http://sigpac.mapama.gob.es/sdg/raster/mtn25 http://sigpac.mapama.gob.es/sdg/raster/ortofotos Ejemplo de una linea: SIGPAC no operativo: return "http://tilesserver.magrama.es/sdg/raster/mtnsigpac" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; SIGPAC operativo: return "http://sigpac.mapama.gob.es/sdg/raster/mtnsigpac" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; Saludos cordiales
Hola, He probado el .bsh que has puestocon las url y no me funciona el nivel de zoom 16, me sale todo en negro, pero solo el 16, incluso si copio la url del 15 al 16. Además, como dije antes del SIGPAC by Zaidin no me van los zoom 15 y 16 y del SIGPAC-Visor no me van los zoom 14 y 15. Aunque cambie las url de unos zoom por otros.
Efectivamente, he visto que han cambiado la url del Sigpac. Buen trabajo, asturcon_53 Pongo el bsh completo aquí para los que tienen problemas con algún zoom. Parece ser que ahora el mapa topo sólo se ofrece hasta el zoom 15, por eso al 16 sale en negro. (El Iberpix a mí me sigue funcionando). A veces hay que borrar la caché de teselas (settings-Tile store), cerrar el programa y volver a abrir. Tanto la fuente sigpac como Iberpix son muy interesantes porque la descarga de teselas es más rápida que a través de los servidores normales vía wms, ya que descargamos directamente del visor. Sigpac es algo menos completo ya que se salta algunos mapas como el 1/50.000, pasando del 1/200.000 directamente al 1/25.000. Code: name = "SIGPAC Visor"; tileType = "jpg"; tileSize = 256; minZoom = 5; maxZoom = 17; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#ffffff"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { if (zoom == 5) { y = 31 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTNSIGPAC" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 6) { y = 63 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 7) { y = 127 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 8) { y = 255 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 9) { y = 511 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 10) { y = 1023 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 11) { y = 2047 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 12) { y = 4095 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 13) { y = 8191 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 14) { y = 16383 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 15) { y = 32767 - y; return "http://sigpac.mapama.gob.es/SDG/raster/MTN25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 16) { y = 65535 - y; return "http://sigpac.mapama.gob.es/SDG/raster/ORTOFOTOS" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 17) { y = 131071 - y; return "http://sigpac.mapama.gob.es/SDG/raster/ORTOFOTOS" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } }
Este si funciona Zaidin Gracias a los dos por el trabajo realizado. El que no me funciona es el zoom 16 de este (me sale todo negro), pero es igual que el zoom 15 y si me funciona : Code: name = "SIGPAC Visor-50"; tileType = "jpg"; tileSize = 256; minZoom = 5; maxZoom = 19; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#ffffff"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { if (zoom == 5) { y = 31 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtnsigpac" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 6) { y = 63 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 7) { y = 127 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 8) { y = 255 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 9) { y = 511 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 10) { y = 1023 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn2000" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 11) { y = 2047 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 12) { y = 4095 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn200" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 13) { x = x - 3663; y = y - 2978; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 14) { x = x - 7327; y = y - 5957; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 15) { y = 32767 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 16) { y = 65535 - y; return "http://sigpac.mapama.gob.es/sdg/raster/mtn25" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 17) { y = 131071 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 18) { y = 262143 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 19) { y = 524287 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } }
Muy buenas Subo el archivo Iberpix2+Sigpac actualizado y probado con zoon topo 16 y zoon orto 19 Lo añado a lo bestia mientras miro de aprender con lo añade el maestro Zaidin para que no ocupe tanto. name = "IBERPIX2-Sigpac"; tileType = "jpg"; tileSize = 256; minZoom = 5; maxZoom = 19; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#000000"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { if (zoom == 5) { x = x - 14; y = y - 11; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 6) { x = x - 28; y = y - 23; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 7) { x = x - 57; y = y - 46; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 8) { x = x - 114; y = y - 93; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 9) { x = x - 228; y = y - 186; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 10) { x = x - 457; y = y - 372; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 11) { x = x - 915; y = y - 744; return "http://www.ign.es/wmts/ot/MTN200IGN/Default/MTN200IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 12) { x = x - 1831; y = y - 1489; return "http://www.ign.es/wmts/ot/MTN200IGN/Default/MTN200IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 13) { x = x - 3663; y = y - 2978; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 14) { x = x - 7327; y = y - 5957; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 15) { x = x - 14654; y = y - 11915; return "http://www.ign.es/wmts/ot/MTN25IGN/Default/MTN25IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 16) { x = x - 29309; y = y - 23830; return "http://www.ign.es/wmts/ot/MTN25IGN/Default/MTN25IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 16) { y = 65535 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 17) { y = 131071 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 18) { y = 262143 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } if (zoom == 19) { y = 524287 - y; return "http://sigpac.mapama.gob.es/sdg/raster/ortofotos" + "@3857" + "/" + zoom + "." + x + "." + y + ".img"; } } Saludos cordiales
Hola Zaidin Si lo se y está hecho a propósito ya que cuando hago los mapas para Oruxmaps me da la impresión (Es algo personal) que la transición de la capa de topo a orto es mejor, haber si me explico un poco mejor, el zoon topo lo veo más ampliado. El que quiera que elimine el zoon 16 de orto y no pasa nada. Por cierto, como insertas los archivos Muchas gracias por anticipado y saludos
ok. Para insertar un código le das al cuarto icono empezando por la derecha (cuando pasas la flecha del ratón aparece: "insert"), y luego: "code".
Se podría obtener la dirección de la capa 1:10000 de ésta pagina: http://www.madrid.org/cartografia/visorCartografia/html/visor.htm
Muy buenas He estado mirando en Fiddler y creo que la dirección es la siguiente: http://srvimagenes.madrid.org/ecwp/ImageX.dll?image?cache=true&l=1&tx=157&ty=266&ts=256&layers Aprovecho este post para poner el .bsh del Iberpix con las ortofotos y usando solamente la fuente de Iberpix. Las ortos son las mismas y con la misma calidad que la del .bsh Iberpix+Sigpac pero como el Sigpac a veces cambia la url pues haber si la de Iberpix es más constante Code: name = "IBERPIX+OrtoIGN"; tileType = "jpg"; tileSize = 256; minZoom = 5; maxZoom = 19; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#000000"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { if (zoom == 5) { x = x - 14; y = y - 11; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 6) { x = x - 28; y = y - 23; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 7) { x = x - 57; y = y - 46; return "http://www.ign.es/wmts/ot/MGUIA/Default/MGUIA@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 8) { x = x - 114; y = y - 93; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 9) { x = x - 228; y = y - 186; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 10) { x = x - 457; y = y - 372; return "http://www.ign.es/wmts/ot/MTN1000IGN/Default/MTN1000IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 11) { x = x - 915; y = y - 744; return "http://www.ign.es/wmts/ot/MTN200IGN/Default/MTN200IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 12) { x = x - 1831; y = y - 1489; return "http://www.ign.es/wmts/ot/MTN200IGN/Default/MTN200IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 13) { x = x - 3663; y = y - 2978; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 14) { x = x - 7327; y = y - 5957; return "http://www.ign.es/wmts/ot/MTN50IGN/Default/MTN50IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 15) { x = x - 14654; y = y - 11915; return "http://www.ign.es/wmts/ot/MTN25IGN/Default/MTN25IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 16) { x = x - 29309; y = y - 23830; return "http://www.ign.es/wmts/ot/MTN25IGN/Default/MTN25IGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 17) { x = x - 58618; y = y - 47661; return "http://www.ign.es/wmts/ot/ORTOIGN/Default/ORTOIGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 18) { x = x - 117237; y = y - 95322; return "http://www.ign.es/wmts/ot/ORTOIGN/Default/ORTOIGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } if (zoom == 19) { x = x - 234474; y = y - 190645 ; return "http://www.ign.es/wmts/ot/ORTOIGN/Default/ORTOIGN@3785" + "/" + zoom + "/" + y + "/" + x + ".jpg"; } } Saludos
Muy buenas Me estoy peleando para crear xml de Cataluña Topo usando una plantilla que he encontrado en la red y extrayendo los datos del GetCapabilities del ICC ows.xml y he ido variando parámetros,etc, etc y siempre me lanza el siguiente error: Failed to load a custom map El destino de la instrucción de procesamiento que coincide con "[xX][mM][lL] no está permitido file: "Cataluña_Topo.xml" line/column:1/10 El archivo que he he creado es el siguiente Code: <customWmsMapSource> <name>Catalunya_Topo</name> <minZoom>6</minZoom> <maxZoom>19</maxZoom> <tileType>JPG</tileType> <version>1.1.1</version> <layers>Mapes disponibles</layers> <url>http://shagrat.icc.cat/lizardtech/iserv/ows?</url> <coordinatesystem>EPSG:4326</coordinatesystem> <aditionalparameters>&EXCEPTIONS=BLANK&Styles=</aditionalparameters> <backgroundColor>#000000</backgroundColor> </customWmsMapSource> Necesito una ayuda para resolver el problema y también si alguien me puede pasar el orto con diferentes zooms Muchas gracias por anticipado y saludos cordiales