Git Product home page Git Product logo

maps4fs's People

Contributors

iwatkot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

maps4fs's Issues

Suggestion: store OSM data and map coordinates for advanced users

I want to suggest you store the OSM data which is used, and that the exact corner coordinates used for the h eightmap.
This would allow advanced users to download higher resolution heightmaps from other sources and match the coordinates exactly. Plus the OSM data can be used to create curves for roads, and building outlines can be used to either generate buildings or as a basis for custom modeling in perfect scale.

All I'd ask for is the tool stores this data in a separate folder next to moddesc.xml for instance.

404

I have tried different locations as well and sizes, and nothing seems to work.

And if you click on link it says not key.

       Fetched 67 weight files.                                                                      generate.py:167
       Fetching map data for coordinates: (48.291146294052, -117.94518134918403)...                   generate.py:94
       Map minimum coordinates (XxY): 421566.02060560987 x 5340808.599549268.                        generate.py:303
       Map maximum coordinates (XxY): 438193.9029467169 x 5357388.232686824.                         generate.py:304
       Map dimensions (HxW): 16579.633137555793 x 16627.882341107004.                                generate.py:308
       Map coefficients (HxW): 1.0119404991183956 x 1.0148853967960818.                              generate.py:312
       Map is in east of central meridian.                                                           generate.py:318
       Map is in north hemisphere.                                                                   generate.py:319

[19:36:07] Fetched 1 elements for tags: {'highway': ['motorway', 'trunk', 'primary']}. generate.py:437
Texture C:\maps4fs\output\maps\map\data\asphalt01_weight.png saved. generate.py:452
[19:36:10] Fetched 129 elements for tags: {'building': True}. generate.py:437
Texture C:\maps4fs\output\maps\map\data\concrete01_weight.png saved. generate.py:452
[19:36:13] Fetched 176 elements for tags: {'highway': ['unclassified', 'residential', 'track']}. generate.py:437
[19:36:14] Texture C:\maps4fs\output\maps\map\data\dirtDark01_weight.png saved. generate.py:452
[19:36:16] Fetched 53 elements for tags: {'landuse': 'farmland'}. generate.py:437
[19:36:17] Texture C:\maps4fs\output\maps\map\data\forestGround01_weight.png saved. generate.py:452
[19:36:19] Fetched 23 elements for tags: {'natural': 'grassland'}. generate.py:437
[19:36:20] Texture C:\maps4fs\output\maps\map\data\grass01_weight.png saved. generate.py:452
[19:36:23] Fetched 9 elements for tags: {'natural': ['wood', 'tree_row']}. generate.py:437
Geometry type MultiPolygon not supported. generate.py:382
Geometry type MultiPolygon not supported. generate.py:382
Geometry type MultiPolygon not supported. generate.py:382
Geometry type MultiPolygon not supported. generate.py:382
Geometry type MultiPolygon not supported. generate.py:382
[19:36:24] Texture C:\maps4fs\output\maps\map\data\grassDirt01_weight.png saved. generate.py:452
[19:36:26] Fetched 8 elements for tags: {'highway': ['secondary', 'tertiary', 'road']}. generate.py:437
[19:36:27] Texture C:\maps4fs\output\maps\map\data\gravel01_weight.png saved. generate.py:452
[19:36:29] Fetched 13 elements for tags: {'natural': 'water', 'waterway': True}. generate.py:437
[19:36:30] Texture C:\maps4fs\output\maps\map\data\waterPuddle_weight.png saved. generate.py:452
SRTM tile name N48E-117 from latitude band N48. generate.py:499
Trying to get response from generate.py:477
https://elevation-tiles-prod.s3.amazonaws.com/skadi/N48/N48E-117.hgt.gz...
Response was failed with status code 404. generate.py:487
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\idaho\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\maps4fs\src\main.py", line 28, in start
generate.Map(working_directory, (lat, lon), distance, dem_settings, logger)
File "C:\maps4fs\src\generate.py", line 99, in init
self.dem()
File "C:\maps4fs\src\generate.py", line 523, in dem
tile_path = self._srtm_tile()
^^^^^^^^^^^^^^^^^
File "C:\maps4fs\src\generate.py", line 509, in _srtm_tile
with gzip.open(compressed_file_path, "rb") as f_in:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\idaho\AppData\Local\Programs\Python\Python312\Lib\gzip.py", line 65, in open
raise TypeError("filename must be a str or bytes object, or a file")
TypeError: filename must be a str or bytes object, or a file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.