不使用 Google 地图进行地图绘制(在独立服务器上)
我被要求创建一个不连接到网络的独立网站/应用程序(全部在本地服务器上)。 其中一部分是拥有一张自然保护区地图,其中包含一系列链接,显示人行道、不同动物栖息地、游客中心等。 因此,有一张地图(静态图片),当您单击它时,它上面会出现一些叠加层。 至少我现在是这样看的。
我看过这里:http://www.carto.net/williams/yosemite/但它看起来太丑了。
获取高级地图并不是一种选择,因为它并不便宜。他们不想使用地图/地球免费 API 的原因是因为那里的互联网连接仍然非常慢(仅卫星互联网,并且何时连接光缆没人知道)。
寻找一些有关如何继续进行的建议。在地图图片上绘制路径/区域似乎极其不足且耗时。 我需要某种方法来使用坐标在地图上自动绘制区域和线条(然后以某种方式将其导出为 graphis 文件(或 SVG),该文件将简单地使用 ajax 分层在原始地图之上。 ARCGIS pro 版本是可行的方法还是我应该开始学习 SVG。您知道一些好的 SVG 书籍/教程(与映射相关)吗?也许还有其他方法...... 他们确实在 ARCGIS 中有该地区的详细地图(无论它们是什么格式,我还不知道)。 只是寻找一些想法,任何帮助将不胜感激。提前致谢。
I've been asked to create a stand-alone site/app that's not connected to the web (all on a local server).
One part of it is to have a map of a natural reserve with a bunch of links that will show footpaths, different animals habitat areas, visitor centres and such.
So there's a map (static picture) and when you click on it some overlay goes on top of it.
At least that's the way I see it now.
I've looked here: http://www.carto.net/williams/yosemite/ but it just looks mucho ugly.
Getting Maps Premium is not an option as it's not that cheap. And the reason they don't want to use Maps/Earth free API is because internet connection is still very slow there (sattelite internet only and when optic cable will be hooked up nobody knows).
Looking for some recommendations as to how to proceed there. Drawing paths/areas on the picture of the maps seems extremely insufficient and time consuming.
I'd need some way to use coordinates to automatically draw areas and lines over the map (and then somehow export that as a graphis file (or SVG) that'll be layered on top of original map simply using ajax.
Will ARCGIS pro edition be the way to go or should I start learning SVG. Do you know some good SVG books/tutorials (as related to mapping)? Maybe there's some other way around altogether...
They do have detailed maps of the area in ARCGIS (whatever format they are in I don't know yet).
Just looking for some ideas, any help will be appreciated. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你知道GeoServer吗?或多或少是一体化的,与不同类型的数据集兼容,可广泛定制。
从“原始”SVG 开始并自己编写整个内容可能会非常耗时。
Do you know GeoServer? More or less all-in-one, compatible with different types of datasets, widely customisable.
Starting from "raw" SVG and write the whole thing yourself will probably be prohibitively time consuming.
如果您的固定数据非常少(例如少于 50 个几何图形),您也可以使用 OpenLayers,而无需任何后端服务器。
对于数据,如果您的(覆盖)地图由小光栅图像组成,则可以使用 OpenLayers.Layer.Image。对于矢量数据,您可以将 OpenLayers.Layer.Text 或 OpenLayers.Layer.Vecor 与协议 OpenLayers.Layer.KML 或 .JSON 一起使用。
您可以点击当前版本示例。
我承认这对于初学者来说不是一件容易的事,但是将地图拼凑在一起很有趣。
If you have very little data (say less than 50 geometries) that is fixed, you could also use OpenLayers without any backend server.
For the data you could use a OpenLayers.Layer.Image if your (overlay-) map consists of a small raster image. For vector data, you can use OpenLayers.Layer.Text or a OpenLayers.Layer.Vecor together with protocols OpenLayers.Layer.KML or .JSON.
You can click through the current release examples.
I admit that this is not an easy task for a beginner, but it's fun hacking the maps together.