Карты, не вошедшие в основной список
Модератор: Tolik
-
caddis
- Новичок
- Сообщения: 39
- Зарегистрирован: 03 ноя 2009, 23:33
- Благодарил (а): 12 раз
- Поблагодарили: 3 раза
Placemark images
Importing a KMZ file, pictures included with the Placemars are not showed and I just get the default blank boxes in its place.
In the description field of placemark editor, I see the image file is called with <img alt="" src="images/nameimage.jpg"….
If I change it with the absolute path where the KMZ file is located (i.e. <img alt="" src="C:/Documents/Imagename.JPG"…), images are displayed!
Is there a way to see the images inside the KMZ file, with a realtive path?
Thanks!
In the description field of placemark editor, I see the image file is called with <img alt="" src="images/nameimage.jpg"….
If I change it with the absolute path where the KMZ file is located (i.e. <img alt="" src="C:/Documents/Imagename.JPG"…), images are displayed!
Is there a way to see the images inside the KMZ file, with a realtive path?
Thanks!
- Shurik
- Постигающий Дао
- Сообщения: 209
- Зарегистрирован: 26 май 2010, 00:07
- Благодарил (а): 12 раз
- Поблагодарили: 57 раз
Re: Карты, не вошедшие в основной список
Niki писал(а):сори если поднимался вопрос, но не увидел слой в саспланет
OrbView-3
http://osm.sbin.ru/ov3/map
http://osm.sbin.ru/ov3/info
wms ссылкаКод: Выделить всё
wms:http://osm.sbin.ru/ov3/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=orbview3rec,orbview3pv&SRS={proj(EPSG:4326)}&WIDTH={width}&height={height}&BBOX={bbox}&format=image/jpeg
Есть небольшая тонкость: этот WMS примерно до z16 отдаёт превьюшки очень плохого качества. Сделано так для снижения нагрузки (ну оооочень тормозило).
Можно поступать иначе: любой снимок оттуда доступен в виде исходного GeoTIFF, который легко нарезается на тайлы.
- Papazol
- Гуру
- Сообщения: 2069
- Зарегистрирован: 04 дек 2009, 01:39
- Откуда: Рязань
- Благодарил (а): 73 раза
- Поблагодарили: 647 раз
Re: Карты, не вошедшие в основной список
To caddis
To store images linked to relative path, you must have a separate folder, or multiple folders. It is better if these folders will be located inside the main directory SASPlanet, as the paths are written relatively to this particular directory. Folder names can be arbitrary.
The default folder is "MediaData" inside folder with the executable file, but if you want to change the name, you will need to create a new section in SASPlanet.ini describing the beginning of path to images (before editing the ini-file you should close SAS.Planet). For example, we have created one folder "pictures" and want to put into it all the images. Then we write:
[PATHtoMediaData]
PrimaryPath =.\pictures
This entry indicates that the beginning of the path to image files, denoted in the tags by the word "Mediadata", located in the SASPlanet\pictures folder. You can also specify the full path, for example, PrimaryPath=D:\media\pictures.
Now to attach labels to images from a folder "pictures" write tags like this:
<img src="sas://MediaData/image.jpg"/>
If we want to sort the images in different folders according to some features, such as the seasons, we create a folders within a folder "pictures": "winter", "spring", "summer", "autumn", and to attach to the label images from a folder, for example, "spring", write tag like it:
<img src="sas://MediaData/spring/image.jpg"/>
This info from WikiSASsia, translated to English by Google Translator with my little help.
To store images linked to relative path, you must have a separate folder, or multiple folders. It is better if these folders will be located inside the main directory SASPlanet, as the paths are written relatively to this particular directory. Folder names can be arbitrary.
The default folder is "MediaData" inside folder with the executable file, but if you want to change the name, you will need to create a new section in SASPlanet.ini describing the beginning of path to images (before editing the ini-file you should close SAS.Planet). For example, we have created one folder "pictures" and want to put into it all the images. Then we write:
[PATHtoMediaData]
PrimaryPath =.\pictures
This entry indicates that the beginning of the path to image files, denoted in the tags by the word "Mediadata", located in the SASPlanet\pictures folder. You can also specify the full path, for example, PrimaryPath=D:\media\pictures.
Now to attach labels to images from a folder "pictures" write tags like this:
<img src="sas://MediaData/image.jpg"/>
If we want to sort the images in different folders according to some features, such as the seasons, we create a folders within a folder "pictures": "winter", "spring", "summer", "autumn", and to attach to the label images from a folder, for example, "spring", write tag like it:
<img src="sas://MediaData/spring/image.jpg"/>
This info from WikiSASsia, translated to English by Google Translator with my little help.
- Parasite
- Администратор
- Сообщения: 5646
- Зарегистрирован: 23 окт 2008, 17:38
- Благодарил (а): 124 раза
- Поблагодарили: 508 раз
Re: Карты, не вошедшие в основной список
Niki писал(а):CityGuide тут под табу запрета
C чего бы?
The only difference between me and a mad man is that I am not mad. /Salvador Dali/


-
zOn
- Советчик
- Сообщения: 254
- Зарегистрирован: 03 фев 2009, 01:05
- Благодарил (а): 25 раз
- Поблагодарили: 19 раз
Re: Карты, не вошедшие в основной список
Niki писал(а):CityGuide тут под табу запрета
Это кто вам сказал про табу? Просто криворукое решение онлайн-карт (по мне так и не только онлайн, т.к. кривее навигацию сложно найти) у них. Не тайловая там система и всё. Каждый запрос сервер обрабатывает - из векторных данных формирует растровую картинку, которая имеет в своем названии темпоральную абракадабру и хранится только не продолжительное время.
долбить такой сервер запросами на формирование тайлов 256*256 - садомазохизм (я пробовал
лет 5 назад можно было побороться с ним, т.к. альтернатив было мало, но теперь он нафиг не нужен с такими заморочками.
оффтоп: табу запрета - это адский ад
-
Niki
- Постигающий Дао
- Сообщения: 227
- Зарегистрирован: 21 авг 2008, 14:18
- Благодарил (а): 5 раз
- Поблагодарили: 16 раз
Re: Карты, не вошедшие в основной список
мне сказали наверно года два назад, а может и не мне на этом форуме, один из пользователей.
что компания ситигид просила не вносить их карты в список.
поиском мож найдете
что компания ситигид просила не вносить их карты в список.
поиском мож найдете
- garl
- Гуру
- Сообщения: 1625
- Зарегистрирован: 16 июл 2008, 14:40
- Откуда: Краснодар, Кубанская столица.
- Благодарил (а): 97 раз
- Поблагодарили: 272 раза
Re: Карты, не вошедшие в основной список
за всё время сколько я помню САС-Планету был всего один момент когда админ ресурса попросил убрать его карту из общего доступа. дело было толи с картой казахстана толи ещё где-то
-
zOn
- Советчик
- Сообщения: 254
- Зарегистрирован: 03 фев 2009, 01:05
- Благодарил (а): 25 раз
- Поблагодарили: 19 раз
Re: Карты, не вошедшие в основной список
с Прогородом была заморочка. после этого они привязку и направление улитки, так что бы без переделки всего САС качать было не возможно.