It works even if the srs is a custom one. GDAL needs to refer to its other lists but since we pass the whole srs string it does not need to have the srid defined in its files.
> -----Original Message----- > From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users- > boun...@postgis.refractions.net] On Behalf Of Bborie Park > Sent: Tuesday, March 27, 2012 1:42 PM > To: postgis-users@postgis.refractions.net > Subject: Re: [postgis-users] What is the detailled meaning of this error? > > Really? I'll add a check anyways... > > -bborie > > On 03/27/2012 10:32 AM, Pierre Racine wrote: > > Ok. If I set GDAL_DATA properly it works fine. > > > >> -----Original Message----- > >> From: postgis-users-boun...@postgis.refractions.net > >> [mailto:postgis-users- boun...@postgis.refractions.net] On Behalf Of > >> Bborie Park > >> Sent: Tuesday, March 27, 2012 1:19 PM > >> To: postgis-users@postgis.refractions.net > >> Subject: Re: [postgis-users] What is the detailled meaning of this error? > >> > >> It means that GDAL doesn't have that projection in its projection list. > >> I'll need to add a testing function to see if GDAL supports the > >> particular projection. > >> > >> -bborie > >> > >> On 03/27/2012 09:47 AM, Pierre Racine wrote: > >>> ERROR: rt_raster_gdal_rasterize: Unable to create OSR spatial > >>> reference using the provided srs: EPSG:42304 > >>> _______________________________________________ > >>> postgis-users mailing list > >>> postgis-users@postgis.refractions.net > >>> http://postgis.refractions.net/mailman/listinfo/postgis-users > >>> > >> > >> -- > >> Bborie Park > >> Programmer > >> Center for Vectorborne Diseases > >> UC Davis > >> 530-752-8380 > >> bkp...@ucdavis.edu > >> _______________________________________________ > >> postgis-users mailing list > >> postgis-users@postgis.refractions.net > >> http://postgis.refractions.net/mailman/listinfo/postgis-users > > _______________________________________________ > > postgis-users mailing list > > postgis-users@postgis.refractions.net > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > -- > Bborie Park > Programmer > Center for Vectorborne Diseases > UC Davis > 530-752-8380 > bkp...@ucdavis.edu > _______________________________________________ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users