Import .shp files

Hello everyone!

I am a french student working on Geographic Information.
I would like to import and render a TIN model (shp format) for realistic geo information.visualization on jMonkey.
Is there a mean to import shuch SHP models in a jMonkey project or to convert these data to OgreXML format?

As a test, I also exported a PLY file from SHP (thanks to a GIS software). I saved this as .OBJ through Rhinoceros but jMonkey can’t read this format.

Thank you for your advices.

Guillaume

obj is supported by the engine, did you have an error?

That’s why I tried to convert it thanks to Rhino.
And, yes, I got two different errors depending on the parameters of the export (cf the images below)

Error1

Error2

Do you have an idea why I got this?
Thank you for your answer.

Seems there is an invalid decimal value with a “/” in the file.
How big is the obj file? any chance you can upload it somewhere?

Sorry for the delay.
Here is the obj file. It’s about 57 mo and it may take a few seconds before opening in any software.

obj file

Edit : You have to click on the video and wait for the code, which is in fact the title of the film presented in the ad.

mhh i can’t even load the file n blender.
I mean…i can…but i can’t see anything…

It’s quite a big model. Can’t you see it even if you extend the zoom?
I tried to export it to .3ds format but this can’t be read by Sketch’Up Pro. (it is imported but can’t be seen)

I tried to zoom out, even down scale but i see nothing.

Maybe try to open the 3DS with blender, and then export it to w/e format the engine supports (ogre, obj, or even keep it as a blend file and load it with our blender loader)

Well, I got the same problem.
I tried to import both .3ds and .obj files. Same result. Nothing can be seen.
I think I should create a SHP/OgreXML export plug-in but that might already exist. Do you have heard anything of such a converter?

To be honest I never heard of SHP files before your post.
I would look for a SHP loader for blender or any modeling application that can export obj

I will search for that.
Nevertheless, is ImportAsset forum the right place to create a topic about SHP/OgreXML conversion?

@Guillaume said: I will search for that. Nevertheless, is ImportAsset forum the right place to create a topic about SHP/OgreXML conversion?
yes go ahead