[Featureserver] First steps
Lehtonen, Mika
mika at digikartta.net
Mon Nov 24 10:59:59 EST 2008
Actually,
I just figured out that (changing the harcoded encoding) just before I
read your mail. Quick and dirty, but it works!
Too complicated for me to come up with a better solution, I'm afraid.
What kind of a patch you were thinking about?
- mika -
Christopher Schmidt kirjoitti:
> On Mon, Nov 24, 2008 at 04:40:43PM +0200, Lehtonen, Mika wrote:
>
>> Yep,
>> that's probably the case. Isn't there any workaround in order to use
>> shps' other than utf-8 encoded? Or is it just better to use only utf-8
>> shps' or to use shp2pgsql to import them into PostGIS?
>>
>
> No workaround without changing code. I'd be willing to take a patch to
> allow the specification of input encding -- the code to fix is line 216
> of DataSource/OGR.py, where it has a hardcoded utf-8. Temporarily, you
> could just change that to 'iso-8859-1' and see if that gets you any
> further.
>
> REgards,
>
More information about the Featureserver
mailing list