[postgis-users] compiling error--postgis_transform.c; structure has no member named `is_latlong'

Frank Warmerdam warmerdam at pobox.com
Tue Nov 12 06:40:16 PST 2002


Jaakko Kähkönen wrote:
> Hector wrote:
> 
>> Some information--Postgresql 7.2.3 source is used with Postgis-cvs; Red
>> Hat 8
>>
>> The error is the following...
>> postgis_transform.c: In function `pj_transform_nodatum':
>> postgis_transform.c:54: structure has no member named `is_latlong'
>> postgis_transform.c:73: structure has no member named `is_latlong'
>> postgis_transform.c: In function `transform_geom':
>> postgis_transform.c:251: structure has no member named `is_latlong'
>> postgis_transform.c:257: warning: implicit declaration of function
>> `pj_transform'
>> postgis_transform.c:278: structure has no member named `is_latlong'
>> postgis_transform.c:293: structure has no member named `is_latlong'
>> postgis_transform.c:319: structure has no member named `is_latlong'
>> postgis_transform.c:325: structure has no member named `is_latlong'
>> postgis_transform.c:353: structure has no member named `is_latlong'
>> postgis_transform.c:366: structure has no member named `is_latlong'
>> postgis_transform.c:396: structure has no member named `is_latlong'
>> make: *** [postgis_transform.o] Error 1
>>
>> Might anyone know why I might be getting this error?  Thanks for any
>> information you might be able to provide me with.

Jakko / Hector,

This almost certainly means you have an older version of PROJ.4.  Please
install PROJ.4 from the 4.4.5 release source.  The is_latlong flag in the
PJ structure is a relatively recent addition.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent






More information about the postgis-users mailing list