[Argentina] problemas con WFS T

Oscar López oskosk en gmail.com
Jue Jul 17 09:42:59 PDT 2014


genial!

Enviado desde mi chuckberry
El 17/07/2014 13:41, "Javier Diaz" <javidiaz1977 at gmail.com> escribió:

> Gracias por la mano Oscar...sos un grosooooooo
>
> Tuve que "tocar" un poco el legacy.sql. Por que me tiraba que habia
> funciones que ya existian.. pero ahora si funciona :)
>
> javier
>
>
>
>
> El 17 de julio de 2014, 13:17, Oscar López <oskosk at gmail.com> escribió:
>
>> Dale. si camina, escribí respondiendo que anduvo así queda en archivo la
>> solución
>>
>> Os
>>
>>
>> 2014-07-17 13:12 GMT-03:00 Javier Diaz <javidiaz1977 at gmail.com>:
>>
>> Haberlo sabido antes :(....como costo saber porque no funcionaba mi sql
>>> con la maldita funcion Tranform....que ahora es ST_Transform :P.
>>>
>>> Gracias Oscar lo miro y te aviso...
>>>
>>>
>>> El 17 de julio de 2014, 13:05, Oscar López <oskosk at gmail.com> escribió:
>>>
>>> Ahh Ok, chequeá entonces si te sirve  este tip
>>>>
>>>> http://mappinggis.com/2012/11/como-conectar-gvsig-con-postgis-2-0/
>>>>
>>>> El post  explica cómo ejecutar un archivo legacy.sql que emula la
>>>> existencia de funciones con los nombres viejos de Postgis 1.x. Hay algunas
>>>> operaciones de ciertos programas que necesitan que existan las funciones
>>>> viejas de postgis (las que empiezan con ST_xxxx) y ese legacy.sql genera
>>>> funciones con nombres viejos y los traduce a llamadas a las funciones
>>>> nueva.
>>>>
>>>>
>>>>
>>>> Os
>>>>
>>>>
>>>> 2014-07-17 13:02 GMT-03:00 Javier Diaz <javidiaz1977 at gmail.com>:
>>>>
>>>> select postgis_full_version();
>>>>>
>>>>> "POSTGIS="2.1.3 r12547" GEOS="3.4.2-CAPI-1.8.2 r3924" PROJ="Rel.
>>>>> 4.8.0, 6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24" LIBXML="2.7.8"
>>>>> LIBJSON="UNKNOWN" TOPOLOGY RASTER"
>>>>>
>>>>> Con PostgreSQL 9.3
>>>>>
>>>>> Todo esto empezo a fallar despues de formatear la pc del curro. Antes
>>>>> con Postgresql 9.1 + Postgis 1.5. Esto andaba de lujo :(
>>>>>
>>>>>
>>>>> El 17 de julio de 2014, 12:55, Oscar López <oskosk at gmail.com>
>>>>> escribió:
>>>>>
>>>>> Qué versión de PostGIS estás usando ?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Os
>>>>>>
>>>>>>
>>>>>> 2014-07-17 12:14 GMT-03:00 Javier Diaz <javidiaz1977 at gmail.com>:
>>>>>>
>>>>>> Gracias Oscar:
>>>>>>> Estuve chequeandolo.
>>>>>>> y en la tabla GEOMTRY_COLUMNS el srid que tengo es 22175 como todas
>>>>>>> las tablas que uso.
>>>>>>> Y en el GeoServer lo tengo publicado con ese SRS.
>>>>>>>
>>>>>>>
>>>>>>> El 17 de julio de 2014, 12:06, Oscar López <oskosk at gmail.com>
>>>>>>> escribió:
>>>>>>>
>>>>>>> Fijate si el SRID de la tabla Postgis que estás tratando de
>>>>>>>> modificar (pavimento_160611) está bien seteado. No basta que hayas
>>>>>>>> publicado la capa con un SRS declarado. Tiene que estar bien el SRID en la
>>>>>>>> estructura postigs ( es decir en la tabla GEOMETRY_COLUMNS , la fila
>>>>>>>> correspondiente a la columna the_geom de la tabla pavimento_160611
>>>>>>>> )
>>>>>>>>
>>>>>>>> Os
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-07-17 11:57 GMT-03:00 Javier Diaz <javidiaz1977 at gmail.com>:
>>>>>>>>
>>>>>>>>>  Buen dia gente.
>>>>>>>>> Alguien usando servicios WFS T?
>>>>>>>>>
>>>>>>>>> Actualmente estoy usando GeoServer 2.1.4.
>>>>>>>>> Estoy teniendo estos errores. Al insertar un feature y guardarlo:
>>>>>>>>>
>>>>>>>>> Post:
>>>>>>>>>
>>>>>>>>> <wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"
>>>>>>>>> service="WFS" version="1.1.0" xsi:schemaLocation="
>>>>>>>>> http://www.opengis.net/wfs
>>>>>>>>> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="
>>>>>>>>> http://www.w3.org/2001/XMLSchema-instance">
>>>>>>>>> <wfs:Insert>
>>>>>>>>> <feature:pavimento_160611 xmlns:feature="javier3">
>>>>>>>>> <feature:the_geom>
>>>>>>>>> <gml:MultiCurve xmlns:gml="http://www.opengis.net/gml"
>>>>>>>>> srsName="EPSG:900913">
>>>>>>>>> <gml:curveMember>
>>>>>>>>> <gml:LineString>
>>>>>>>>> <gml:posList>-6490024.3033850035 -4132539.3569971127
>>>>>>>>> -6489931.729029 -4132560.6378563</gml:posList>
>>>>>>>>> </gml:LineString>
>>>>>>>>> </gml:curveMember>
>>>>>>>>> </gml:MultiCurve>
>>>>>>>>> </feature:the_geom>
>>>>>>>>> </feature:pavimento_160611>
>>>>>>>>> </wfs:Insert>
>>>>>>>>> </wfs:Transaction>
>>>>>>>>>
>>>>>>>>> Respuesta:
>>>>>>>>>
>>>>>>>>> <ows:Exception exceptionCode="InvalidParameterValue">
>>>>>>>>> <ows:ExceptionText>Error performing insert: Error inserting
>>>>>>>>> features</ows:ExceptionText>
>>>>>>>>> </ows:Exception>
>>>>>>>>>
>>>>>>>>> Al actualizar un feature:
>>>>>>>>>
>>>>>>>>> Post: (parte...)
>>>>>>>>>
>>>>>>>>> <wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"
>>>>>>>>> service="WFS" version="1.1.0" xsi:schemaLocation="
>>>>>>>>> http://www.opengis.net/wfs
>>>>>>>>> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="
>>>>>>>>> http://www.w3.org/2001/XMLSchema-instance">
>>>>>>>>> <wfs:Update typeName="postgis3:pavimento_160611"
>>>>>>>>> xmlns:postgis3="javier3">
>>>>>>>>> <wfs:Property>
>>>>>>>>> <wfs:Name>the_geom</wfs:Name>
>>>>>>>>> <wfs:Value>
>>>>>>>>> <gml:MultiCurve xmlns:gml="http://www.opengis.net/gml"
>>>>>>>>> srsName="EPSG:900913">
>>>>>>>>> <gml:curveMember>
>>>>>>>>> <gml:LineString>
>>>>>>>>> <gml:posList>-6490301.567365138 -4132488.607738113
>>>>>>>>> -6490350.938355866 -4132680.0707130195</gml:posList>
>>>>>>>>> </gml:LineString>
>>>>>>>>> </gml:curveMember>
>>>>>>>>> </gml:MultiCurve>
>>>>>>>>> </wfs:Value>
>>>>>>>>> </wfs:Property>
>>>>>>>>> <wfs:Property>
>>>>>>>>> <wfs:Name>gid</wfs:Name>
>>>>>>>>> </wfs:Property>
>>>>>>>>>
>>>>>>>>> Respuesta
>>>>>>>>>
>>>>>>>>> <ows:Exception exceptionCode="InvalidParameterValue">
>>>>>>>>> <ows:ExceptionText>Update error: Error occured updating
>>>>>>>>> features</ows:ExceptionText>
>>>>>>>>> </ows:Exception>
>>>>>>>>>
>>>>>>>>> Alguna pista de donde puede estar el problema??
>>>>>>>>>
>>>>>>>>> Saludos
>>>>>>>>> Javier
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Argentina mailing list
>>>>>>>>> Argentina at lists.osgeo.org
>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Argentina mailing list
>>>>>>>> Argentina at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Argentina mailing list
>>>>>>> Argentina at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Argentina mailing list
>>>>>> Argentina at lists.osgeo.org
>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Argentina mailing list
>>>>> Argentina at lists.osgeo.org
>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Argentina mailing list
>>>> Argentina at lists.osgeo.org
>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Argentina mailing list
>>> Argentina at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>>
>>>
>>
>> _______________________________________________
>> Argentina mailing list
>> Argentina at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>>
>>
>
> _______________________________________________
> Argentina mailing list
> Argentina at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/argentina
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/argentina/attachments/20140717/86a1b76f/attachment-0001.html>


More information about the Argentina mailing list