AutoCAD Implement cad drawing into GeoJSON on OpenStreetMap - openstreetmap

How can I put my AutoCAD drawing into OpenStreetMap?
I tried AutoCAD Map 3D but I can't somehow put it in my desired location.
by the way, here is my desired location in openstreetmap
OSM
and my autocad drawing I wish to put it in openstreetmap as a GEOJSON
Drawing

Have a look at this doc: https://github.com/open-indoor/openindoor6/blob/main/AUTOCAD.md
Mainly use ogr2ogr to convert dxf to geojson, and to fix GPS location.
OpenIndoor web app aims to render the result in a 3D scene.
https://app.openindoor.io
Just drag and drop your geojson files in it.

Related

problem of displaying geojson file with leaflet

I want to display the attributes of a shapefile layer using leaflet, I found that should i to convert the layer from shp to GeoJson. I can display the popups of my layers but the large layers can not displayed and the computer is not responding.
what is the solution?

overlay data over water but below land surface: Mapbox-gl.js

I want to overlay my data-layer on top of the water but below the land surface.
But the problem is that there is basically no "ground" layer on mapbox layers. There are different layers like 'water', 'roads' etc layered on top of a background which is basically 'land'
I have been able to use 'roads' on top on my data which gives the following images. but is there a way to visualize my data only on 'water' and not on 'land'?
For more information. data is in geojson format. I have used movelayer() funtion of mapbox and checked by moving my datalayer below each layer of map.getStyle().layers one by one.
Also, can this be done in different styles available in mapbox?
To do what you're trying to achieve, you'll have to find another tileset of land polygons to use as a mask. There isn't a way to dynamically clip a layer to within the polygons of another layer, for instance.

Add dome-like sphere with Mapbox GL

How can I add a 3 dimensional sphere to Mapbox GL using the Javascript API? I've read about the fill-extrusion property but I'm unsure how I would use it for a sphere. I'm trying to create a semi-transparent dome around a latitude/longitude coordinate based on a distance radius.
There's no way to do anything like that at present. The only 3D features are fill-extrusions, which have flat tops. Maybe you could create an image that looked like a 3D dome, and overlay that.

Put markers or layers on tags in OSM

I want to use openstreetmap to put a marker or zone an area with an overlay for certain locations like farmland or commercial buildings.
Is it possible to do a custom map, where I pan around and put a marker, or an area overlay on these specific places?
Looking at the official openstreetmap client I see now way of exposing this information.
For a farmland I want to add a farm building marker, and for a commercial building a commercial marker for example.

Draw routes in Leaflet and Wax

I'm using Leaflet and MapBox. I need to develop an api which will show certain city points with labels, and accordingly draw routes between them. I have BlueMarble tiles till certain zoom, and then MapBox Streets. What is the best way to realize that idea? Are circles and paths the best option? Thank you.
I am not sure that you need to create an API for what you want to do.
http://leaflet.cloudmade.com/examples/geojson.html
In the Leaflet tutorials it shows you how to create LineStrings and Points from GeoJson data. So with latitude and longitude coordinates for the Cities you can create Points and use LineStrings to create the routes and add a them as a GeoJson Layer to the map.