How can we import a historical image from google earth pro into qgis for selecting training polygons? - import

I would like to import a historical image from 2011 of the city of trivandrum from google earth pro and then import it into qgis. I could not find an option to do so anywhere.
I tried to save the image on GE pro, but it could only be saved as jpeg. Also, the xyz option on qgis does not allow us to select for historical data.

Related

Import .ai (illustrator file) in Unity and display them

I want to load an illustrator file in my game. Unity should recognize different layers, colors, and forms, and layers with text and display them in a 2d canvas.
The goal is that the players can click on different forms and that unity recognize them as individual forms. Do you know any unity asset or a way to make this possible?
For example when you import an image like this as an illustrator file -> https://www.mandala-bilder.de/mandala/erwachsenemandalas/mandala-ideen-erwachsene.pdf
I thought about an SVG file but then I canĀ“t use the different layers.
Illustrator has a proprietary file format, it has no publicly available documentation for newer versions. While you can dig out old specifications (this is why some programs only support AI files saved in ancient versions) http://www.idea2ic.com/File_Formats/Adobe%20Illustrator%20File%20Format.pdf I do not think you can just go in and start supporting a 2021 variant without requesting (and motivating) the spec from Adobe. They might also want to charge you for it.
SVG on the other hand is free and it's spec is public so there is much widely spread support. also SVG supports groups which can get your around the need for layers
Vector Express is a free conversion API you should be able to use. (requires a network connection, though)
https://github.com/smidyo/vectorexpress-api
You should be able to POST a request (https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.Post.html) to this endpoint, with the raw AI file as the body:
POST https://vector.express/api/v2/public/convert/ai/gs/pdf/psd2svg/svg/
This will return a JSON object with a link to an SVG file that you can then download and display.

What file formats are supported by Unity and Hololens?

What file formats does Unity and Hololens support ? We assume only FBX and GLTF file formats only?
Are there open source tools to convert to these formats ?
The ARR service accept FBX and GLTF file formats only.
Unity supports FBX, GLTF, OBJ and Maya files.
Unfortunately, Microsoft doesn't provide any specific tooling to convert a CAD file to these formats. However, Microsoft has recommended using programs like PiXYZ ( https://www.pixyz-software.com/studio/ ) to convert from various CAD formats to a tessellated mesh , which Unity or ARR can read in (such as FBX). Note, the HoloLens itself doesn't care too much about the the format as long as it is a triangulated mesh of polygons. (HoloLens is just a UWP device that uses DirectX). But, Unity does the heavy lifting of sending the polygon data to DirectX. You will likely have to optimize/reduce their CAD data since the HoloLens is a mobile device it can't render much more than 100-200k polygons at 60 frames per second. So, if you need more "complex" representations of the CAD data that's where ARR can help.
Thank you Cameron for providing me/us the info! Microsoft Developers are the best.

Can you create contour lines from a WCS file in qGIS?

I am currently working on a mapping project in qGIS, and the only good DEM model I can find of SE Norway is a high-res WCS link that I have uploaded into my project. I would really like to create contour lines, so I was wondering if there is any way to do this with a DEM in WCS format. Everything I've found online deals with raster and vector files.
Thanks!
Zack Eriksen
The WCS link should allow you to download the data to use as a raster/grid, and then you can create contours from the grid.
I am not sure about QGIS, but you can do this in Golden Software's Surfer program. In Surfer 16, just click to create a contour map, and when asked to open the grid, click the Download button. Add the WCS server, connect to it, select the layer and region and download. The data is downloaded from the server and the contour map is created. You can save the data as a grid at that point, if you want to use it in the future.

How to upload an OSG-model to Google Earth?

I am programming with OpenSceneGraph (OSG) and I want to put my created OSG-model into Google Earth.
I did research, but I could only find that Sketchup can directly upload its model to Google Earth, but couldn't find anything about uploading an OSG-mode.
Does anybody know how I can achieve this?
You can try exporting your model to COLLADA (DAE) which Google Earth can import.
OSG needs to be built with the COLLADA-DOM library in order to have the COLLADA .DAE loader/saver, and the COLLADA-DOM library is non-trivial to get working.

Is there any way to import solidworks files into unity as assets?

I'm attempting to program a simple chess game using the unity game engine. However, I can't work out how to import the assets that I've created in Solidworks into Unity.
Is it possible to do?
SolidWorks files tend to describe parametric geometry, such as NURBs, but most game engines prefer to work with raw polygons.
Unity has direct support for the following model formats: FBX, OBJ, DAE, 3DS.
SolidWorks can export to STL format, which other programs should be able to convert to OBJ, DAE, and/or FBX. Recommending a specific tool is beyond the scope of Stack Overflow, but I know that such tools exist. I recommend searching terms such as "stl to obj conversion".
These sorts of headaches are fairly common with 3D assets, since so many programs use customized file formats.
Also with 3DS studio max, you can directly open Solidwork files and then export as them as .fbx (you need to have Solidworks installed in the same machine as 3DS Max).
about SolidWorks (SLDPRT, SLDASM) Files:
http://help.autodesk.com/cloudhelp/2015/ENU/3DSMax/files/GUID-861F1B25-0F1B-4E79-A660-821F4CD2175B.htm
Other free tool for converting 3D files: (can save as .obj, which unity reads)
MeshLab
http://meshlab.sourceforge.net/
*Update for 2018:
Unity has partnered with this CAD importer company, and its available to purchase from: https://unity3d.com/pixyz
They support pretty much all the available CAD formats, including SolidWorks
full importer list at https://www.pixyz-software.com/plugin/
Just for reference, since Solidworks 2019 it is not necessary to use any AddIn/3rd Party Plugin. It is supported out of the box: https://help.solidworks.com/2019/english/whatsnew/t_export_using_extended_reality.htm
the "XR exporter" in SOLIDWORKS will allow you to export the model with some additional content (animation, appearances, metadata) to the GLTF / GLB fileformat and using the GLTF importer for unity (should be free) you're done.