1 (edited by Kayumiy 2020-05-04 01:14:23)

Topic: Using my own tile files

Hello,

If you see the image which i sent you.
There are 3 kinds of files:

.dbf
.shp
.shx

How to use this tile files in order to render map in Unity Scene?

Post's attachments

Attachment icon Annotation 2020-05-04 100522.jpg 29.92 kb, 66 downloads since 2020-05-04 

Re: Using my own tile files

Hello.

Online Maps does not support vector tiles, so no way.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Using my own tile files

Honestly speaking, I cannot distinguish tiles are vector or any other format.
Because I don't have knowledge related to geography.

I think I cannot change tile of the format which is given to me by government.
I think I have to change library or asset. Correct me please If I am not right.

Do you know any other dll or asset which can load vector tiles?

Re: Using my own tile files

The asset store has assets that use vector tiles.
But even they most likely will not work with shp.
Try asking the developers of these assets, but I would not really hope for success.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

5 (edited by Kayumiy 2020-05-04 09:52:47)

Re: Using my own tile files

If vector tiles is not possible to render in this asset.


What kinds of tile format the asset supports?


You mention that "All downloaded tiles are placed in the folder «Resources / OnlineMapsTiles», in the format required for
use" in documentation. However, I did not find any list of supported tile format.

Please let me know all tiles format which are Online Map can support.

Re: Using my own tile files

These 3 kinds of tile format are supported by Online Map asset?

.nda
.ngi
.xml

Re: Using my own tile files

Online Maps, like most other mapping solutions, uses tiles.
What is a tile system and how does it work:
https://docs.microsoft.com/en-us/bingma … ile-system
Tiles can be raster (png, jpg) and vector (pbf, mvt).
Online Maps uses raster tiles.

SHP (shapefile) is just a vector image, not even a tile.

I don’t know what the NDA and NGI formats are.
Google shows nothing about this.

XML (eXtensible Markup Language) is just a markup language that can contain any structured data.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Using my own tile files

You said that these .dbf  .shp .shx formats are vector tiles.

But, I found .pbf is vector file.

.dbf is also vector tile?

Re: Using my own tile files

https://en.wikipedia.org/wiki/Shapefile

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Using my own tile files

I have another question.

If I convert my vector tiles to rester tiles, do you think this plugin can load map data?

Re: Using my own tile files

I never did it, and I can not recommend for you some proven way.
From what I found, you can rasterize shp using ArcGIS Pro or using this service:
https://mygeodata.cloud/converter/

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Using my own tile files

I found solution for vector tiles issue.

http://mapsui.com/index.html

See this link above:

Mapsui dll can load vector tiles. Not perfect solution but it can helped a lot.
I think if you add vector tiles solution, your asset will be better and perfect.

Thank You

Re: Using my own tile files

1. Mapsui is not a Unity solution, and I cannot integrate it.

2. Online Maps can load vector tiles (pbf, using API), but cannot display it.
The problem is that tile rasterization is a very slow process that takes 0.2 - 3 seconds.
Now multiply this time by the number of tiles displayed simultaneously (for the default settings, this is about 50 tiles).
Vector tiles can work fast, but this requires a special way to display such tiles.
We plan to add a special control in the future to display vector tiles, but it will not be very soon.

3. Shp is a vector image, not a tile.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

14 (edited by Kayumiy 2020-05-13 08:41:12)

Re: Using my own tile files

Alex Vertax wrote:

1. Mapsui is not a Unity solution, and I cannot integrate it.

2. Online Maps can load vector tiles (pbf, using API), but cannot display it.
The problem is that tile rasterization is a very slow process that takes 0.2 - 3 seconds.
Now multiply this time by the number of tiles displayed simultaneously (for the default settings, this is about 50 tiles).
Vector tiles can work fast, but this requires a special way to display such tiles.
We plan to add a special control in the future to display vector tiles, but it will not be very soon.

3. Shp is a vector image, not a tile.


3. I don't know about GIS terminology.
    I am just following what you said before:

    You can see your note here:

Post's attachments

Attachment icon Annotation 2020-05-13 173716.jpg 53.55 kb, 59 downloads since 2020-05-13 

Re: Using my own tile files

There are 3 kinds of files:

.dbf
.shp
.shx

I don't know how to render in the map.
You said that it was not possible before. Therefore, I have been searching other solution.
But, you said that "Online Maps can load vector tiles (pbf, using API), but cannot display it".

My question is simple. Can I display these files (.dbf  .shp  .shx) by using your asset or not?

Re: Using my own tile files

No, you cannot display these files using Online Maps.

Please accept my apologies if my answer in post 2 misled you about whether any of your three formats is a tile or not.
These are not tiles.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.