Giter VIP home page Giter VIP logo

streetmap's Introduction

Street Map Plugin for Unreal Engine

This plugin allows you to import OpenStreetMap XML data into your Unreal Engine project as a new StreetMap asset type. You can use the example Street Map Component to render streets and buildings.

UE4OSMBrooklyn

UE4OSMRaleigh

Have fun!! --Mike LICENSE.txt (Note: This plugin is a just a fun weekend project and not officially supported by Epic.)

Quick Start

It's easy to get up and running:

  • Download the StreetMap plugin source from this page (click Clone or download -> Download ZIP).

  • Unzip the files into a new StreetMap sub-folder under your project's Plugins folder. It should end up looking like "/MyProject/Plugins/StreetMap/"

  • Rebuild your C++ project. The new plugin will be compiled too!

  • Load the editor. You can now drag and drop OpenStreetMap XML files (.osm) into Content Browser to import map data!

  • Drag and Drop imported Street Map Data Asset into the viewport and a Street Map Actor will be automatically generated. You should now see your streets and buildings in the 3D viewport.

UE4OSMManhattan

If the rebuild was successful but you don't see the new features, double check that the Street Map plugin is enabled by clicking the Settings toolbar button, then click Plugins. Locate the Street Map plugin and make sure Enabled is checked.

If you're new to plugins in UE, you can find lots of information right here.

Getting OpenStreetMap Data

Legal: OpenStreetMap data is licensed under the ODC Open Database License (ODbL). If you use this data in your project, make sure you understand and comply with the terms of that license e.g. lookup the Legal FAQ.

UE4OSMExport

Here's how to get data for a location you're interested in:

For larger areas (more than a neighborhood or small town) you should use Mapzen Extracts.

  • Go to OpenStreetMap.org and use the search feature to navigate to your favorite location on Earth.

  • Click the Export button on navigation bar at the top of the page to go into Export Mode.

  • Scroll and zoom such that the region you want to export fills your browser window. Start with something reasonably small so that the export and download will complete quickly. Try zooming in on a small town or a city block.

  • When you're ready, click Export on the left. OpenStreetMap will generate an XML file and initiate the download soon.

If you want to fine tune the rectangle that's saved, you can click "Manually select a different area" in the OpenStreetMap window, and adjust a rectangle over the map that will be exported.

Keep in mind that many locations may have limited information about building geometry. In particular, the heights of buildings may be missing or incorrect in many cities.

If you receive an error message after clicking Export, OpenStreetMap may be too busy to accomodate the request. Try clicking Overpass API or check one of the other sources. Make sure the downloaded file has the extension ".osm", as this is what the plugin will be expecting. You can rename the downloaded file as needed.

Of course, there are many other places you can find raw OpenStreetMap XML data on the web also, but keep in mind the plugin has only been tested with files exported directly from OpenStreetMap so far.

Editing OpenStreetMap

Attention: OSM covers the real world and includes only fact based knowledge. If you like to build up an fictional map, you can use the JOSM offline editor, to create an local XML file, which you don't upload(!) to the project.

You can easily contribute back to OSM, for example to improve your hometown. Just signup at www.openstreetmap.org and click at the edit tab. The online iD editor allows you to trace aerial imagery and to add POIs easily. To learn more details, just look over here:

Please be aware, that the project community (the inhabitants!) is the essential part. Thus it's wise to get in touch with mappers close to you, to get more tips on local tagging, or unwritten rules. Happy mapping!

Plugin Details

Street Map Assets

When you import an OSM file, the plugin will create a new Street Map asset to represent the map data in UE. You can assign these to Street Map Components, or directly interact with the map data in C++ code.

Roads are imported with full connectivity data! This means you can design your own navigation algorithms pretty easily.

OpenStreetMap positional data is stored in geographic coordinates (latitude and longitude), but UE doesn't support that coordinate system natively. That is, we can't easily deal with spherical worlds in UE currently. So during the import process, we project all map coordinates to a flat 2D plane.

The OSM data is imported at double precision, but we truncate everything to single precision floating point before saving our UE street map asset. If you're planning to work with enormous map data sets at runtime, you'll need to modify this.

Street Map Components

An example implementation of a Street Map Component is included that generates a renderable mesh from loaded street and building data. This is a very simple component that you can use as a starting point.

The example implementation creates a custom primitive component mesh instead of a traditional static mesh. The reason for this was to allow for more flexible rendering behavior of city streets and buildings, or even dynamic aspects.

All mesh data is generated at load time from the cartographic data in the map asset, including colorized road strips and simple building meshes with triangulated roof polygons. No spline interpolation is performed on the roads.

The generated street map mesh has vertex colors and normals, and you can assign a custom material to it. If you want to use the built-in colors, make sure your material multiplies Vertex Color with Base Color. The mesh is setup to render very efficiently in a single draw call. Roads are represented as simple quad strips (no tesselation). Texture coordinates are not supported yet.

There are various "tweakable" variables to control how the renderable mesh is generated. You can find these at the top of the UStreetMapComponent::GenerateMesh() function body.

(Street Map Component also serves as a straightforward example of how to write your own primitive components in UE.)

OSM Files

While importing OpenStreetMap XML files, we store all of the data that's interesting to us in an FOSMFile data structure in memory. This contains data that is very close to raw representation in the XML file. Coordinates are stored as geographic positions in double precision floating point.

After loading everything into FOSMFile, we digest the data and convert it to a format that can be serialized to disk and loaded efficiently at runtime (the UStreetMap class.)

Depending on your use case, you may want to heavily customize the UStreetMap class to store data that is more close to the raw representation of the map. For example, if you wanted to perform large-scale GPS navigation, you'd want higher precision data available at runtime.

Known Issues

There are various loose ends.

  • Importing files larger than 2GB will crash. This is a current UE limitation.

  • Some variants of generated OSM XML files won't load correctly. For example, single-quote delimeters around values are not supported yet.

  • Street Map APIs should be easy to use from C++, but Blueprint support hasn't been a focus for this plugin. Many methods are inlined for high performance. Blueprint scripting hooks could be added if there is demand for it, though.

  • As mentioned above, coordinates are truncated to single-precision which won't be sufficient for advanced use cases. Similarly, geographic coordinates are not retained beyond the initial import phase. All coordinates are projected onto a plane and transposed to be relative to the center of the map's bounding rectangle.

  • Runtime data structures are setup to support pathfinding (see FStreetMapNode member functions), but no example implementation of a GPS algorithm is included yet.

  • Generated mesh data is currently very simple and lacks collision information, navigation mesh support and has no texture coordinates. This is really just designed to serve as an example. For more rendering flexibility and faster performance, the importer could be changed to generate actual Static Mesh assets for map geometry.

  • You can search for @todo in the plugin source code for other minor improvements that could be made.

Compatibility

This plug-in requires Visual Studio and either a C++ code project or the full Unreal Engine source code from GitHub. If you are new to programming in UE, please see the official Programming Guide!

The Street Map plugin should work on all platforms that UE supports, but the latest version has not been tested on every platform.

We'll try to keep the source code up to date so that it works with new versions Unreal Engine as they are released.

Support

I'm not planning to actively update the plugin on a regular basis, but if any critical fixes are contributed, I'll certainly try to review and integrate them.

For bugs, please file an issue, submit a pull request or catch me on Twitter.

Finally, a big thanks to the OpenStreetMap Foundation and the fantastic community who contribute map data and maintain the database.

streetmap's People

Contributors

helpstertee avatar hemofektik avatar houssinemehnik avatar matthias84 avatar mikefricker avatar mvexel avatar n1ckfg 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  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

streetmap's Issues

Packaging for Android not possible

Whenever I try to package a project for Android while the plugin is installed, it aborts the process.
Removing the plugin again solves the problem, but it's not helping much.
Sorry for the German parts in the Log.

Here are the Errors I recieve:
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: ERROR: Unable to instantiate instance of 'HLSLCC' object type from compiled assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Unreal Build Tool creates an instance of your module's 'Rules' object in order to find out about your module's requiremen
ts. The CLR exception details may provide more information: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> UnrealBuildTool.BuildException: ERROR: Attempt to build against HLSLCC on unsupported platform Android

UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Software\Engine\Unreal\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe DungeonGoPlug Android Development -Project=C:\Users\diadi\Documents\SAE
GPR916\Diploma\DungeonGoPlug\DungeonGoPlug.uproject C:\Users\diadi\Documents\SAE\GPR916\Diploma\DungeonGoPlug\DungeonGoPlug.uproject -NoUBTMakefiles -remoteini="C:\Users\diadi\Documents\SAE\GPR916\Diploma\DungeonGoPlug" -skipdeploy -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2017.10.11-02.21.50.txt'

PackagingResults: Error: Unknown Error

The full Output Log is attached.
Package.txt

not working with 4.20.1

any idea to start this plugin with 4.20.1?

i change in StreetMapComponent.cpp:
from UNavigationSystem::UpdateComponentInNavOctree(*this);
to FNavigationSystem::UpdateComponentData(*this);

but still no chance to rebuild.

Import Problem

Hello in first , im French sorry, for my bad english :) thanks you .
today i try this plugins in unreal engine version 4.17.2 i install them in a c++ project .
but when i want to import a map.osm i have a message like that :
capture 1

and when i go in the output logs i seee that :
capture 2

i don't konw how to resolve that and i search everywhere but i find nothing .
thanks you for your help and i hope this problem can be resolve :) thanks you ^^

OSM not listed as a supported file type

I compiled the VR 4.16 branch of Unreal from source, created the Plugins folder and copied StreetMap there then built the project.

Unfortunately it won't let me import an osm file and osm is not listed as a file type option in the Import selection File window.

Can't build project

build_error.txt
I already change plugin source file.
StreetMapComponentDetails.cpp:
46 line ".GetSelectedObjects();" => "->GetSelectedObjects();"
61 line ".GetSelectedActors();" => "->GetSelectedActors();"

and
two cs file (StreetMapRuntime.Build.cs & StreetMapImporting.Build.cs)
add this line "bEnforceIWYU = false;"

but I can't build my project
and prompt print this error
StreetMapComponent.cpp(line 57) FStreetMapSceneProxy cannont instantiate abstract class

What should i do next?

Unreal engine version : 4.19.2
Visual Studio version : 2017 community 15.6.7

I am sorry for my lack of English ability. Thank you.
build_error.txt

OSM data not appearing in Viewport

As the title describes.. I am not seeing any results from dragging and dropping my OSM data into the Viewport. I am new to the process but technically proficient enough to have followed the instructions accurately, but any advice would be greatly appreciated!

TriangulatePolygon has issues with some concave shapes

Some buildings are improperly triangulated.
See this s-shaped building in Berlin for example:
sberlin

In future support for polygons with holes (e.g. The Pentagon) would also be nice.

Thirdparty libraries like Poly2Tri could help here.

I would like to fix this myself but we should probably agree first on how to tackle this issue (ThirdParty lib yes/no, if yes how to integrate).

Making OSM structs blueprint readable

I think this could be of interest for some people working with this great plugin.

I'm currently working with UE4.18, so I can't modify the plugin for 4.19... But maybe someone else could make the structs in StreetMap.h (or more their UPROPERTIES) BlueprintReadOnly? I locally added BlueprintCallable getter functions in StreetMapComponent.h for retrieving the properties of buildings, roads and their nodes. This way it's easy to iterate over all roads and create splines for them (see #38). Due to OSM roads consisting only of single segments, the roads would look much nicer with splines.

(Test map with spline meshes)
highresscreenshot00143

highresscreenshot00134

Problems with Packaging in 4.20

I have fixed a small reference issue that was preventing the OSM plugin from being added to 4.20. You can now add the plugin and successfully import OSM Data in to 4.20, (I've created a pull request for this simple fix) however attempting to package the project while the OSM plugin is present results in a very large number of errors relating to missing overrides and other bad references. I am hoping that this is more of a cascading issue and not a complete rebuild kind of an issue.

NOTE: Compatibility

For anyone else using this (as of v4.18), Git says it was updated to support 4.17 but you can only install 4.17.2. Because of that, the plugin will be made with wrong engine version and I failed to rebuild it. I also could not get it to work with 4.15. However, I was successful in building it for 4.16.3. Hope this helps anyone else.

Can't compile the plugin - UE 4.19.2 - Windows 10

Hello there,

I'm having an issue while adding the plugins to the project.

UE4 editor just tell me he can't compile this plugin due to a missing binary.

Error messages:

Binaries for the 'StreetMap' plugin are missing or incompatible with the current engine version.

Plugin 'StreetMap' failed to load because module 'StreetMapRuntime' could not be found. Please ensure the plugin is properly installed , otherwise consider disabling the plugin for this project.

I'm quite sure the installation is correct (download and unzip of the git repo).

Did someone else had the same trouble using the plugin and found a solution?

By the way, i'm using UE4.19.2 on windows 10.

Thanks in advance,

BuildingPoints (Look up coordinate for building name)

Hi there,

First of all, great project! Everything seems to work great. Thank you.

Would you mind helping me understand what's in the Vector2d array BuildingPoints (Line 284, StreetMap.h) ? Most importantly, how can I convert a point on the rendered mesh, that the player's mouse cursor currently is on, into BuildingPoints as to lookup the StreetMap data asset and identify the building being clicked on?

The goal is to have the player hover his mouse over a building and its name would show up

Your help in pointing me in the right direction is much appreciated!

Cannot rebuild project

Hi there, as instructed, I placed StreetMap into the Plugins folder and rebuild the project. Using UE 4.18.1

However, the rebuilding process returns the following errors:

C2228 --- left of '.GetSelectedObjects' must have class/struct/union --- LifePlay --- StreetMapComponentDetails.cpp --- Line 46

C2228 --- left of '.GetSelectedObjects' must have class/struct/union --- LifePlay --- StreetMapComponentDetails.cpp --- Line 61

Failed to produce item UE4Editor-StreetMapImporting.dll

The command "D:\Unreal418\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat LifePlayEditor Win64 Development "D:\LifePlay\LifePlay.uproject" - waitmutex" exited with code -1. --- LifePlay --- Microsfot.MakeFile.Targets --- Line 49

Show street names in simulation

Hi,

so i've been trying out this plugin and i was wondering if there was a way to also display the street names / names of sights from the osm data in the simulation.

i've been playing around a litte but i'm quite unexperienced with UE so i would really appreciate if someone could point me into the right direction with this!

Newcomer of osm&ue4, need some help

hi, MikeFricker:
Here, I'm learning your plugins this week. Some problems trouble me for a long time, so your help and answers could be very important.

  1. I cannot found CMAKE file or Makefile in this repository, so how can I complete the task as "Rebuild your C++ project. The new plugin will be compiled too!"?
  2. Do I need install ue4 before learning your project? And Macbook could be supportable for it, or only Windows?
  3. My system is OS X, can you give some suggest soft or application to me?

4.19 Build Errors

Hey Mike!

DotCam here, I'm a mod over on the forums. I've been trying to get this plugin built for 4.19 both for myself and to help out the community but I can't make it past this last group of errors. I've managed to fix the first 3 errors but these 2 (line 78 & 94) are being a bit stubborn. Here's the error output from the log:

> StreetMapSceneProxy.cpp(78): error C2280: 'FStreetMapVertexFactory::FStreetMapVertexFactory(void)': attempting to reference a deleted function
> StreetMapSceneProxy.h(94): note: compiler has generated 'FStreetMapVertexFactory::FStreetMapVertexFactory' here
> StreetMapSceneProxy.h(94): note: 'FStreetMapVertexFactory::FStreetMapVertexFactory(void)': function was implicitly deleted because a base class 'FLocalVertexFactory' has either no appropriate default constructor or overload resolution was ambiguous
> ue_4.19\engine\source\runtime\engine\public\LocalVertexFactory.h(21): note: see declaration of 'FLocalVertexFactory'

I'm completely stumped on this one, the errors don't make any sense as there is no code on either line 78 or 94. The one on line 94 says it was generated which would explain the lack of code, I'm assuming both errors are generated code.

FLocalVertexFactory doesn't have a default (empty params) constructor anymore which may be why the line 94 error is coming up, instead it is now declared as:

FLocalVertexFactory(ERHIFeatureLevel::Type InFeatureLevel, const char* InDebugName, const FStaticMeshDataType* InStaticMeshDataType = nullptr)
        : FVertexFactory(InFeatureLevel)

This obviously needs to be changed somewhere in this file, problem is I'm not sure what to input for those parameters, or where this should be changed. I will keep investigating and edit this post with more details if I manage to find anything.

I have a feeling it is related in some way to the parameters in the "ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER" macro call.

Note regarding the other build error issue #39:
I have already tried the tips and tricks listed in #39 related to 4.19 without success including adding bEnforceIWYU = false to build.cs files, and the build workaround, which I have never heard of before. Since I've managed to fix the other errors already I thought it would be better to create a new issue for this.

Do you have any ideas how to fix this one? Once I have it built I will make a pull request since there were a few errors that I needed to fix before getting to this point, and we have a couple other people looking into it on the forums. Here's a link to that post, it has more info on what I've done so far:
https://forums.unrealengine.com/development-discussion/engine-source-github/107292-plugin-openstreetmap-plugin?p=1489972#post1489972

Thanks Mike for this awesome plugin and any assistance you're able to provide!

Missing .dll while Compiling in 4.18

Hi there!
I am trying to recompile after copying the folder in the plugins folder of my project.
However, I am getting this message
captura
Y press and finally I get the following error in the log:
'UE4Editor.exe' (Win32): 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll' loading. PDB can´t be found or can´t be opened.

I need some help, please!
thanks in advance!!

import doesn't work

I just downloaded the file and followed the instruction here but when I pressed import button, it gives me errors and doesn't run appropriately.
22092861_10155494303820590_1787016122_o

Compiling errors for 4.18

Got alot of errors

Severity Code Description Project File Line Suppression State
Error C3646 'VertexBuffer': unknown override specifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 104
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 104
Error C3646 'IndexBuffer32': unknown override specifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 107
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 107
Error C3668 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 77
Error C3646 'VertexBuffer': unknown override specifier Streetmapper n:\ue4streetmap\ue4\streetmapper\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h 104
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper n:\ue4streetmap\ue4\streetmapper\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h 104
Error C3646 'IndexBuffer32': unknown override specifier Streetmapper n:\ue4streetmap\ue4\streetmapper\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h 107
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper n:\ue4streetmap\ue4\streetmapper\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h 107
Error C3668 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods Streetmapper n:\ue4streetmap\ue4\streetmapper\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h 77
Error C2661 'FLocalVertexFactory::FLocalVertexFactory': no overloaded function takes 2 arguments Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 13
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 21
Error C2228 left of '.Indices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 21
Error C2440 '=': cannot convert from 'const FVector2D' to 'float' Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 38
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 43
Error C2228 left of '.InitFromDynamicVertex' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 43
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 65
Error C2228 left of '.PositionVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 65
Error C2228 left of '.ReleaseResource' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 65
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 66
Error C2228 left of '.StaticMeshVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 66
Error C2228 left of '.ReleaseResource' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 66
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 67
Error C2228 left of '.ColorVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 67
Error C2228 left of '.ReleaseResource' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 67
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 68
Error C2228 left of '.ReleaseResource' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 68
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 82
Error C2228 left of '.PositionVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 82
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 83
Error C2228 left of '.StaticMeshVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 83
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 84
Error C2228 left of '.ColorVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 84
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 85
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 144
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 151
Error C2228 left of '.Indices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 151
Error C2228 left of '.Num' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 151
Error C2789 'IndexCount': an object of const-qualified type must be initialized Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 151
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 154
Error C2228 left of '.PositionVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 154
Error C2228 left of '.GetNumVertices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 154
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 163
Error C2228 left of '.Indices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 163
Error C2228 left of '.Num' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 163
Error C2789 'IndexCount': an object of const-qualified type must be initialized Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 163
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 164
Error C2228 left of '.PositionVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 164
Error C2228 left of '.GetNumVertices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 164
Error C2065 'IndexBuffer32': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 177
Error C2228 left of '.Indices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 177
Error C2228 left of '.Num' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 177
Error C2789 'IndexCount': an object of const-qualified type must be initialized Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 177
Error C2065 'VertexBuffer': undeclared identifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 178
Error C2228 left of '.PositionVertexBuffer' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 178
Error C2228 left of '.GetNumVertices' must have class/struct/union Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp 178
Error C3646 'VertexBuffer': unknown override specifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 104
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 104
Error C3646 'IndexBuffer32': unknown override specifier Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 107
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 107
Error C3668 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h 77
Error Failed to produce item: N:\UE4Streetmap\UE4\Streetmapper\Plugins\StreetMap\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-StreetMapRuntime.lib Streetmapper N:\UE4Streetmap\UE4\Streetmapper\Intermediate\ProjectFiles\ERROR 1
Error MSB3073 The command "F:\UT\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat StreetmapperEditor Win64 Development "N:\UE4Streetmap\UE4\Streetmapper\Streetmapper.uproject" -waitmutex" exited with code -1. Streetmapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 49

Document OSM editing

Hi there,

looks like an pretty interesting project. As most users will not be familar with OSM and the community, I would recommend to add a small section to readme.md that describes how to edit OSM and which edits are welcome.

P.S: If you need help, I will add an PR

Compiling error for UE4.19

After the command "make launch", UE shows an error window : "The following modules are missing or built with a different engine version: libUE4Editor-StreetMapRuntime.so libUE4Editor-StreetMapImporting.so Would you like to rebuild them now?"
After I clicked "Yes", another error window shows "CarlaUE4 could not be compiled. Try rebuilding from source manually."

I have followed the instruction in issue 37, but found the StreetMapComponentDetails.cpp has already been corrected as described.
I also tried "Remove "PropertyEditor" in StreetMapRuntime.Build.cs", but still not work.

What can I do to fix it? I'm running it on Ubuntu16.04

[Tutorial] For anyone tries to build on UE4.18

In StreetMapComponentDetails.cpp
Line 46: change ".GetSelectedObjects" to "->GetSelectedObjects"
Line 61: chagne ".GetSelectedActors" to "->GetSelectedActors"

That's all.
Build and enjoy

No "StreetMapComponent"?

Hey everyone,

I'm probably missing something big, but I can't seem to find the "Street Map Component" I need to put in my map to assign the Street Map Data to. I can import the .OSM file fine, and the plugin seems to have compiled fine (I copied StreetMap into a test project's Plugins folder, and once opening it prompted to rebuild the plugin, which built fine). Dragging the .OSM file worked fine, but then I can't find the Street Map Component to be able to assigned OSM file I dragged in.

Where is it? Did I miss something?

Thanks!

Unable to build project 4.17.2

1>------ Rebuild All started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Rebuild All started: Project: MyProject, Configuration: Development_Editor x64 ------
2>Cleaning MyProjectEditor Binaries...
2>Creating makefile for MyProjectEditor (no existing makefile)
2>Performing full C++ include scan (no include cache file)
2>Parsing headers for MyProjectEditor
2>  Running UnrealHeaderTool "C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\MyProject.uproject" "C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>Reflection code generated for MyProjectEditor in 7,7402912 seconds
2>Performing 18 actions (4 in parallel)
2>[4/18] Resource PCLaunch.rc
2>[2/18] Resource ModuleVersionResource.rc.inl
2>SharedPCH.Engine.cpp
2>SharedPCH.UnrealEd.cpp
2>[5/18] Resource PCLaunch.rc
2>[6/18] Resource PCLaunch.rc
2>StreetMapImporting.generated.cpp
2>Module.StreetMapImporting.cpp
2>Module.StreetMapRuntime.cpp
2>StreetMapRuntime.generated.cpp
2>c:\users\kalmykoviv\documents\unreal projects\myproject\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h(104): error C3646: 'VertexBuffer': unknown override specifier
2>c:\users\kalmykoviv\documents\unreal projects\myproject\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h(104): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\users\kalmykoviv\documents\unreal projects\myproject\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h(107): error C3646: 'IndexBuffer32': unknown override specifier
2>c:\users\kalmykoviv\documents\unreal projects\myproject\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\users\kalmykoviv\documents\unreal projects\myproject\plugins\streetmap\source\streetmapruntime\StreetMapSceneProxy.h(77): error C3668: 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(104): error C3646: 'VertexBuffer': unknown override specifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(104): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(107): error C3646: 'IndexBuffer32': unknown override specifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(77): error C3668: 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods
2>MyClass.cpp
2>MyProject.cpp
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(13): error C2661: 'FLocalVertexFactory::FLocalVertexFactory': no overloaded function takes 2 arguments
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(21): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(38): error C2440: '=': cannot convert from 'const FVector2D' to 'float'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(38): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(43): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(65): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(66): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(67): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(68): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(82): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(83): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(84): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(85): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(144): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(151): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(151): error C2789: 'IndexCount': an object of const-qualified type must be initialized
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(151): note: see declaration of 'IndexCount'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(154): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(163): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(163): error C2789: 'IndexCount': an object of const-qualified type must be initialized
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(163): note: see declaration of 'IndexCount'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(164): error C2065: 'VertexBuffer': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(177): error C2065: 'IndexBuffer32': undeclared identifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(177): error C2789: 'IndexCount': an object of const-qualified type must be initialized
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(177): note: see declaration of 'IndexCount'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.cpp(178): error C2065: 'VertexBuffer': undeclared identifier
2>[13/18] Link UE4Editor-MyProject.dll
2>[14/18] Link UE4Editor-MyProject.lib
2>   Creating library C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.lib and object C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.exp
2>   Creating library C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.lib and object C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.exp
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(104): error C3646: 'VertexBuffer': unknown override specifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(104): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(107): error C3646: 'IndexBuffer32': unknown override specifier
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapRuntime\StreetMapSceneProxy.h(77): error C3668: 'FStreetMapSceneProxy::GetTypeHash': method with override specifier 'override' did not override any base class methods
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(46): error C2819: type 'IDetailsView' does not have an overloaded member 'operator ->'
2>C:\EG\UE_4.16\Engine\Source\Editor\PropertyEditor\Public\PropertyEditorModule.h(67): note: see declaration of 'IDetailsView'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(46): note: did you intend to use '.' instead?
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(46): error C2232: '->IDetailsView::GetSelectedObjects': left operand has 'class' type, use '.'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(61): error C2819: type 'IDetailsView' does not have an overloaded member 'operator ->'
2>C:\EG\UE_4.16\Engine\Source\Editor\PropertyEditor\Public\PropertyEditorModule.h(67): note: see declaration of 'IDetailsView'
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(61): note: did you intend to use '.' instead?
2>C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Source\StreetMapImporting\StreetMapComponentDetails.cpp(61): error C2232: '->IDetailsView::GetSelectedActors': left operand has 'class' type, use '.'
2>ERROR : UBT error : Failed to produce item: C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\Plugins\StreetMap\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-StreetMapRuntime.lib
2>Total build time: 67,82 seconds (Local executor: 0,00 seconds)
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(49,5): error MSB3073: The command "C:\EG\UE_4.16\Engine\Build\BatchFiles\Rebuild.bat MyProjectEditor Win64 Development "C:\Users\kalmykoviv\Documents\Unreal Projects\MyProject\MyProject.uproject" -waitmutex" exited with code -1.
2>Done building project "MyProject.vcxproj" -- FAILED.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

(Same is in ue 4.21.2)
What have i done wrong?
Is there any manual how to install this module?

How to install?

Hi,
error
can you tell me have I placed the streetmap folder in the correct place?... I'm getting an error message when opening UE4 as seen in the image attached.
Thanks,
Martin

cannot rebuild the project

Hello I am doing some school project and have a trouble to use this module

I have made empty C++ project and put plugin files in project directory

and rebuild it

and I got Error

I got this log

c1 : ?R?}???h ???C?? error D8022 : 'E\blahblah(directory path)'
c1 : ?R?}???h ???C?? error D8022 : 'E\blhablahblah'
ERROR : UBT ERROR : Failed to produce ite, : 'E\blahblah'

and finally got pop up

worldimportprac could not be compiled. Try rebuilding from source manually

For integrity, I redownload the whole files and did it again and got same again.

is there any solutions to deal with it or I have to copy and paste all of the things by one by one?

Unreal crash when dragging the .osm file UE4.20

I'm using Ubuntu 16.04 and I built the UE4.20 from the source.

I downloaded some very simple scenarios from www.openstreetmap.org and got the .osm file. When I dragged the .osm file from Content to the viewpoint, the Unreal crashed.

Here is the error message:
/home/ao.liu/UnrealEngine/Engine/Binaries/Linux/UE4Editor: symbol lookup error: /home/ao.liu/Documents/Unreal Projects/MyProject10/Plugins/StreetMap/Binaries/Linux/libUE4Editor-StreetMapRuntime.so: undefined symbol: _ZN17UNavigationSystem26UpdateComponentInNavOctreeER15UActorComponent

Compiling error UE4.20

I followed the guide to build and VS2017 throws this build error

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static void __cdecl UNavigationSystem::UpdateComponentInNavOctree(class UActorComponent &)" (_imp?UpdateComponentInNavOctree@UNavigationSystem@@SAXAEAVUActorComponent@@@z) referenced in function "protected: void __cdecl UStreetMapComponent::ClearCollision(void)" (?ClearCollision@UStreetMapComponent@@IEAAXXZ) OSMTest2

compile StreetMap in Linux

Hello Mike,

I am trying to compile StreetMap in Linux.
I have copied the StreeMap folder in UnrealEngine/Engine/Plugins
After that I have run ./GenerateProjectFiles.sh then make
But i got following errors:

.../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapRuntime/PolygonTools.cpp(1): error: Expected PolygonTools.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapRuntime/StreetMap.cpp(1): error: Expected StreetMap.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapRuntime/StreetMapActor.cpp(1): error: Expected StreetMapActor.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapRuntime/StreetMapComponent.cpp(1): error: Expected StreetMapComponent.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapRuntime/StreetMapSceneProxy.cpp(1): error: Expected StreetMapSceneProxy.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/OSMFile.cpp(1): error: Expected OSMFile.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapActorFactory.cpp(1): error: Expected StreetMapActorFactory.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapAssetTypeActions.cpp(1): error: Expected StreetMapAssetTypeActions.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapComponentDetails.cpp(1): error: Expected StreetMapComponentDetails.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapFactory.cpp(1): error: Expected StreetMapFactory.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapReimportFactory.cpp(1): error: Expected StreetMapReimportFactory.h to be first header included. .../UnrealEngine/Engine/Plugins/StreetMap/Source/StreetMapImporting/StreetMapStyle.cpp(1): error: Expected StreetMapStyle.h to be first header included. Build canceled.

I am using the current master branch (e55015396bca11b84e4e846c5500955880294d76). Can you please tell me which Unreal release works with StreetMap plugin?

No static mesh conversion

For some reason I can't convert the actor with StreetMapComponent into static mesh or export into FBX (exports as a dummy box).

Errors when compiling

See answerhub question. When trying to add the project, I get errors of the kind 'LastDetailBuilderPtr': undeclared identifier or left of '.Num' must have class/struct/union. I'm using UE4.15 with Visual Studio 2015.

Can't add streetmap plugin to Unreal Engine

Hi all,

I tried the past week to install this plugin on Unreal Engine Source Code using Visual Studio 2017. I had a lot of problems with it and it still doesn't work.

I installed the Unreal Enigne source code and copied this plugin into /engine/plugin/runtime/streetmap but the engine's solution couldn't be built correctly (without it the solution can be built without issues): when building with the plugin into engine's directory Visual Studio gives me two errors and three advertisments.

I'm using:
Unreal Engine 4.19.2
Visual Studio 2017
I'd like to know which version of these software I need to let it work.
Regards.

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.