[postgis-users] Odd question

Eric Aspengren ericaspen at gmail.com
Sat Sep 15 16:46:06 PDT 2012


That's fantastic! Exactly what I was looking for. Thank you very much.

On Sat, Sep 15, 2012 at 6:44 PM, Paragon Corporation <lr at pcorp.us> wrote:

> Eric,
>
> Did y ou want to change the default or set it to 0 or something?
>
> We were meaning to expose that but wasn't sure if anyone would be
> interested
> in changing it.
>
> The setting is on the function:
>
> interpolate_from_address
>
> Just change the hardcoded default of 10 to what you want.
>
>
>
> CREATE OR REPLACE FUNCTION interpolate_from_address(given_address INTEGER,
> in_addr1 VARCHAR, in_addr2 VARCHAR, in_road GEOMETRY,
>         in_side VARCHAR DEFAULT '',in_offset_m float DEFAULT 10 );
>
>
> In 2.1. we'll add to the list to allow this to be voerrided at the geocode
> function level as an additional arg.  Can't do that with the 2.0 one though
> since that would change the api.
>
> Hope that helps,
> Regina
> http://www.postgis.us
>
>
>
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Eric
> Aspengren
> Sent: Saturday, September 15, 2012 5:20 PM
> To: PostGIS Users Discussion
> Subject: [postgis-users] Odd question
>
> Anybody know how to remove the default 10 meter offset from the PostGIS
> geocoder?
>
>
> --
> Eric Aspengren
> (402) 478-8683
> www.streetlevelstrategies.com
> ericaspen at gmail.com
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



-- 
Eric Aspengren
(402) 478-8683
www.streetlevelstrategies.com
ericaspen at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120915/72ae345c/attachment.html>


More information about the postgis-users mailing list