CAD/CAM discussion forum > CAD > ZWcad and georeferenced images

ZWcad and georeferenced images

    
  Subscribe Topic

Rank: 1

Filip

Newbie

posts: 47

Registered: 2012-4-17

Message 1 of 11

 ZWcad and georeferenced images
04-08-2012 03:55 . pm   |   View his/her posts only
Post Last Edit by filipv8882 at 2012-8-4 16:22

Hello,


how come that ZWcad still can't import georeferenced raster images? I have several rasters with "world files" and ZWcad only gives me the option to place and scale them myself (which is, of course, not an option).

I thought that was fixed a long time ago :S


Is there any plugin or addon that enables that?


EDIT: I found GeoRefImg by CADstudio, a VLX LISP
http://www.cadstudio.cz/en/apps/georefimg/

It's listed as freeware, and works well on Zwcad+ :)

Rank: 5Rank: 5

Daniel

posts: 280

Registered: 2012-6-6

Message 2 of 11

06-08-2012 11:16 . am   |   View his/her posts only
Nice app, thank you for the sharing!

But it doesn't recognize my own TFW file. It only recognize the EWW file itself generates. How about yours?

BTW, we will consider to support world file in the future release.

Rank: 1

Filip

Newbie

posts: 47

Registered: 2012-4-17

Message 3 of 11

07-08-2012 06:04 . pm   |   View his/her posts only
Hello,

it works well for me.
I have tested this pairs: .jpg -> .jgw, .tif -> .tfw, .tiff -> .tfw

Another convention: .jpg -> .jpgw doesn't work with this LISP, but it doesn't matter much.

Rank: 5Rank: 5

Daniel

posts: 280

Registered: 2012-6-6

Message 4 of 11

07-08-2012 06:18 . pm   |   View his/her posts only
I also found it's working great, only because my own tfw file is corrupted.

I get a new one and it's fine

Rank: 1

Filip

Newbie

posts: 47

Registered: 2012-4-17

Message 5 of 11

08-08-2012 12:13 . am   |   View his/her posts only
Lol, now I realised that Zwcad 2012 HAD this feature :).

Maybe the slogan for Zwcad+ should be One step forward, two steps back? :-)))

Rank: 1

DDWZW

Newbie

posts: 142

Registered: 2011-11-23

Message 6 of 11

08-08-2012 10:02 . am   |   View his/her posts only
+1 bump

Rank: 1

ivys

Newbie

posts: 8

Registered: 2012-1-18

Message 7 of 11

10-08-2012 11:44 . am   |   View his/her posts only
Reply 1# filipv8882
Great sharing!

Rank: 1

ioan

Newbie

posts: 30

Registered: 2011-7-12

Message 8 of 11

10-03-2014 05:13 . am   |   View his/her posts only
EXTRAORDINARY!!!!!!!!!!!!
SPEACHLESS, ICAN NOT BELIEVE NOT HAVING HEARD ABOUT IT UP TO NOW:)))

Rank: 1

faisal5381

Newbie

posts: 1

Registered: 2014-9-15

Message 9 of 11

08-06-2015 04:42 . pm   |   View his/her posts only
Hello,
I downloaded the latest georefimg vlx file from the website provided by thread starter http://www.cadstudio.cz/georefimg & tried to use it on ZWCAD+ 2015. I am receiving the error as per below image.


Incompatible CAD software

georef error.jpg
2015-6-8 16:23


As per the comments, some of the users manage to run it successfully(although it was run on a previous version of ZWCAD+)
I am not sure what might have caused me getting the "Incompatible CAD software" error.

Can anybody assist or shed some light on what might have changed with the VLX file compare to the old one? How do I get it to work with ZWCAD+ 2015?

Rank: 2

Goran

Assistant Engineer

posts: 15

Registered: 2011-7-16

Message 10 of 11

13-06-2015 02:57 . am   |   View his/her posts only
Post Last Edit by goranP at 2015-6-13 02:59

Zwcad had this feature in version 2012, but it give's false result, or better, wrong result. This is the reason that this feature was dropped out in all other versions. By the definition, world file have 5 or 6 parameters, one of them is insertion point of raster file. After inserting raster image with world file, insertion point of raster is not insertion point, middle point of first pixel must be insertion point. No matter how small the amount was or is (half of pixel, depends on size of pixel, resolution of raster image) it was not correct!

sampleFile.tfw (from ESRI World File Format)

5.000000000000 (size of pixel in x direction)
0.000000000000 (rotation term for row)
0.000000000000 (rotation term for column)
-5.000000000000 (size of pixel in y direction)
492169.690845528910 (x coordinate of centre of upper left pixel in map units)
5426523.318065105000 (y coordinate of centre of upper left pixel in map units)

(btw, check bold label text in editor )

Hm, where is bold/blod picture?

Bold label

blod.png
2015-6-13 02:56


Click the image to insert? I upload that picture!

Rank: 2

Goran

Assistant Engineer

posts: 15

Registered: 2011-7-16

Message 11 of 11

13-06-2015 03:16 . am   |   View his/her posts only
Post Last Edit by goranP at 2015-6-13 03:21

I found in Zwcad 2015 (2015.05.26(27086)), Image Attach and Use positioning file. I don't have Autocad Raster Design at home, it will wait till Monday (Cadastral maps, M 1 : 1000, 750 * 500 mm, grid 100 mm, calibrated with Microstation Descartes, and exported as world file, all grid points are in less 0.2 mm)
See also
X