Shapefile and image mismatch

3196
8
01-19-2012 04:22 AM
PaulLambert1
New Contributor
Hi

I'm attempting to use CityEngine 2011 to create a model of Singapore. I have a satellite image of the downtown area of Singapore along with a shapefile containing the road networks. Both are in WGS84 UTM zone 48N projection and when viewed in ArcMap they correlate perfectly. However, when I import them into CityEngine they end up seperated by about 400km and 90 degrees rotation. I can use the map offset to bring the map layer into the same area as the shapefile road network but can do anything about the rotation. I guess I therefore have 2 questions:

1. Why don't the two sets of data correlate correctly in CityEngine?

2. Is there any way I can rotate the map layer so I can at least get the image and the road network data lined up?

Thanks.
0 Kudos
8 Replies
MatthiasBuehler1
Frequent Contributor II
Dear Paul,


Is it possible that you can provide me with a test dataset on which you can reproduce the issue which you can share ?

Please let me know.
0 Kudos
PaulLambert1
New Contributor
Hi Matthias

I was preparing some data to send you but decided to use a jpg with a prj file rather than a geotiff so that the data size was reduced. I did a test import just to make sure the error was reproduced and it worked! I guess I'll use that method instead. Easy really.

Thanks

Paul
0 Kudos
filippomastrangelo
New Contributor
I'm experiencing exactly the same problem.
If I use the GeoTiff this one is far away from the shp street network, if I use a PNG the location matches but the scale it does not (the map is smaller in the orther of 10 times).
As we have a server license, I have tried anything I could: I used different data, different machines (Win xp or Win 7) or different ArcMap versions (10 or 10.1). Problem was the same.

It is the main feature we expected to use in CityEngine, I hope there is a way to solve this problem.
Thank You

Damiano Cerrone
Spin Unit
0 Kudos
MatthiasBuehler1
Frequent Contributor II
Hi Damiano !

If both datasets are georeferenced, they should match the same position .. so hmmm...

Try using the exact same projection for both shape file and raster file. Means make sure all data and terrain images match the target SCS ( Scene Coordinate System ) in the CityEngine scene file.

If you already tried this, can you send me the test data ?

Lemme know.

Matt
0 Kudos
filippomastrangelo
New Contributor
Thank You for answering in short time.

I have just cleared this issue, false alarm:
My routine was to create a project in CE then copying the files produced in ArcGis onto CE workspace by drag/drop as you can see in the attached image.
Due of my intense use of ArcCatalog, my mind was giving for granted that this drag/drop action was carrying along also projection files together with the images, thought it doesn't

I tried to copy the files directly into the folder with Win explorer and off course it worked.

Damiano[ATTACH=CONFIG]21583[/ATTACH]
0 Kudos
MatthiasBuehler1
Frequent Contributor II
hi !

great to hear it works now !

m.
0 Kudos
AmandaBrown1
New Contributor II

Hi ,

I am also having this issue with CityEngine. My terrain layer does not align with my roads or building layers despite them aligning in Arcmap. I have made sure that all layers are in the same coordinate system (NZTM). I have made sure that they are the same extent. I have tried using Shapefiles to see if that would help. 

I have inserted a screenshot of the issue, with the red arrows indicating the difference.

I'm a bit stumped as to what to try next. If someone could give me some suggestions, it would be greatly appreciated.

Thanks

-Amanda

0 Kudos
AmandaBrown1
New Contributor II

After tweaking some more I worked out that the Aerial photo was the cause. It wasn't quite the same extent and I re did it completely which resulted in it working. Thanks anyway

0 Kudos