This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mago-3d-tiler % docker run --rm \ | |
| --entrypoint java \ | |
| -v "/tmp:/workspace" \ | |
| gaia3d/mago-3d-tiler \ | |
| -Xms4g -Xmx8g \ | |
| -jar /app/mago-3d-tiler-1.14.0-release.jar \ | |
| -inputType laz \ | |
| -input workspace/input.laz \ | |
| -output workspace/output \ | |
| -crs 7855 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pystac_client import Client | |
| from odc.stac import load | |
| import odc.geo | |
| # Load the STAC catalog | |
| client = Client.open("https://earth-search.aws.element84.com/v1") | |
| # load the STAC collection | |
| collection = client.get_collection("sentinel-2-c1-l2a") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>GeoServer WMTS with Mapbox Vector Tile in OpenLayers</title> | |
| <link rel="stylesheet" href="https://unpkg.com/ol/ol.css" /> | |
| <script src="https://unpkg.com/ol/dist/ol.js"></script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import laspy | |
| import numpy as np | |
| import rasterio | |
| from rasterio.transform import from_bounds | |
| from scipy.spatial import cKDTree | |
| mycrs = 'EPSG:26985' | |
| las_file = 'data/1120.las' | |
| # 1. Read Bounds from LAZ File | |
| def read_laz_bounds(filename): | |
| las = laspy.read(filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM llama3 | |
| # Set parameters | |
| PARAMETER temperature 0.8 | |
| PARAMETER stop Result | |
| # Sets a custom system message to specify the behavior of the chat assistant | |
| # Leaving it blank for now. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### This file will require you to give path of folder in which all GeoJSONs are present | |
| ## Author : Krishnaglodha@gmail.com | |
| ## !pip install geopandas | |
| ### | |
| import os | |
| import geopandas as gpd | |
| from shapely.geometry import Point | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Set the variables | |
| PGHOST="" | |
| PGDATABASE="" | |
| PGUSER="" | |
| PGPASSWORD="" | |
| PGPORT="" | |
| TABLE_NAME="" | |
| GEOJSON_FILE="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GDAL==3.4.3 | |
| odc-stac==0.3.8 | |
| pystac-client==0.7.5 | |
| rasterio==1.3.9 | |
| numpy==1.26.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import date, timedelta | |
| import requests | |
| import pandas as pd | |
| import geopandas as gpd | |
| from shapely.geometry import shape | |
| copernicus_user = os.getenv("copernicus_user") # copernicus User | |
| copernicus_password = os.getenv("copernicus_password") # copernicus Password | |
| ft = "POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))" # WKT Representation of BBOX | |
| data_collection = "SENTINEL-2" # Sentinel satellite |
NewerOlder