GithubHelp home page GithubHelp logo

ui's Introduction

OsmSharp

This repository is not maintained anymore. Check osmsharp.com for more info.

From the website:

OsmSharp used to do everything on top of what it does today, including routing and rendering geo data. This was too much and the name OsmSharp didn’t make sense anymore. Now the old functionality has been replaced by several seperate projects:

  • OsmSharp: Working with OSM-data, filtering, transforming.
  • Itinero: The routing project is now maintained under the name Itinero.
  • UI: This UI and rendering project has not been replaced. Instead we recommend using Mapsui.

ui's People

Contributors

kochizufan avatar r-bel avatar rodionsh avatar vcotlearov avatar vimception avatar xivk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ui's Issues

Add overloads to Map.AddLayer

Make it easier to add layers to the Map object.

Ex:

Add Layer (Scene)
Add Layer (TileUrl)
Add Layer (Gpx)
Add Layer (Kml)

Implement a RouteTrackerAnimator

Implement a RouteTrackerAnimator: Animates the progress along a given route using the RouteTracker and the given GPS position. Moves the MapView to the correct Zoom, Tilt and Center.

OsmSharp Route => GeoJSON

  • Implement a conversion to GeoJSON of an OsmSharp route.
  • In one go look at serializing other geometries to GeoJSON.

-> Use external library (licence (!))

MapCSS: Process eval functions

Add the eval functionality to the MapCSS parser/interpreter.

Some geometries with a 'width' property are rendered as a single line making airports and river/canals not show up on the map.

Routing flatfile

Implement a flat graph serialization.

Serialization already exists for a CH-graph and and a regular graph in blocks (for mobile use) but there are also important use-cases for one giant flat-file.

  • Pre-process on another machine.
  • Pre-process on another machine and load in service with no downtime.
  • Create pre-processed files per country for download.

Implement a RouteTracker

Implement a RouteTracker: Tracks the current position along an existing route and determines when to recalculate. Contains the next instruction to follow.

System.Net.WebException When Tile loading

I run the OsmSharp.WinForms.UI.Sample

use this layer
map.AddLayer(new LayerTile(@"http://b.tile.openstreetmap.org/{0}/{1}/{2}.png"));

Timeout exception occurs sometimes

System.Net.WebException was unhandled
HResult=-2146233079
Message=操作超时
Source=System
StackTrace:
在 System.Net.HttpWebRequest.GetResponse()
在 OsmSharp.UI.Map.Layers.LayerTile.TilesLoading(Object projectionParam) 位置 f:\code\OsmSharp-master\OsmSharp.UI\Map\Layers\LayerTile.cs:行号 141
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart(Object obj)
InnerException:

Label-placement

Implement a simple (greedy) label placement algorithm.

  • Works on all plaforms (in Renderer2D class).
  • Prioritize labels.

This will already be better compared to the current situation where there is nothing stopping the rendering code from rendering overlapping labels.

Weird iOS bug

Repeated crashes after long scrolling, zooming panning.

International text support

Hi. You need to change all occurrences of
ASCIIEncoding.ASCII
by
Encoding.UTF8
in the file PBFOsmStreamSource.cs

Example:

string key = ASCIIEncoding.ASCII.GetString(block.stringtable.s[(int)node.keys[tag_idx]]);

string key = Encoding.UTF8.GetString(block.stringtable.s[(int)node.keys[tag_idx]]);

Thanks.

mw7 - carpel - office 2003 corriendo - oracle vm virtualbox_240

iOS project?

Hi, I really want to try osmsharp so I installed Xamarin on a Mac. I never used it, I read some documentation and I can open other projects but I really cannot run the osmsharp iOS sample app.

Can you please explain the steps to run it? I cannot see the run option, it says that no executable are available and it doesn't let me select any simulator or device (the selection is grayed out).

Thank you!

MapMarker problems

Remove this.Location = in MapMarker constructor.
Remove or update the bitmap property, it always returns the static default image.

Simplify MapMarker

Simplify the usage of the MapMarker by creating a marker object and the adding this to the MapView.

accessible highway types are missing

The following accessible highway types are missing in constructor of "Osm.Routing.MotorVehicle.cs" class.

  • primary_link
  • trunk_link
  • motorway_link

As a result, generated routes are often not the shortest/fastest.

Multipolygon Rendering

The multipolygon rendering is not accurate enough. Take into account the inner rings and split large polygons into small pieces.

Default settings MapView

There are no default settings in the MapView:

Set default zoom, tilt and location.
Set map object in constructor.

MapView animation

Implement a MapView animator: Move to a new Center, Tilt and Zoom level in a smooth way in a given time period.

Add bearing to MapView

Add a bearing property to the MapView and update the view accordingly.

This is to add the ability to turn the map in another direction than 'north-above'. This is a required feature for doing anything related to navigation.

rendering of maps

How you render OSM files? You split them in smaller pieces or you convert them to a specific format?

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.