Thanks for cleaning up the patch Nuno. I have created a jira issue for this
and attached a version of the patch cleaned up somewhat (mostly cleaning up
the tab vs spaces formatting).

http://jira.codehaus.org/browse/GEOT-4129

Let's have discussion continue there.

-Justin

On Mon, May 7, 2012 at 11:21 AM, Nuno Miguel Carvalho Oliveira <
nmco51...@gmail.com> wrote:

> Hi,
>
> I send two new patches which implements what have been discussed in the
> previous mails.
>
> Resume:
>
> Type = geography -> 2D, because ST_AsEWKB don't support geographic type.
> (http://postgis.refractions.net/documentation/manual-svn/ST_AsEWKB.html)
>
>
> No hint -> 3D
> hints.put(FEATURE_2D, false) -> 3D
> hints.put(FEATURE_2D, true) -> 2D
>
> Regards,
>
> Nuno Oliveira
>
>
> 2012/5/4 Andrea Aime <andrea.a...@geo-solutions.it>
>
>> On Fri, May 4, 2012 at 5:13 PM, Justin Deoliveira 
>> <jdeol...@opengeo.org>wrote:
>>
>>>
>>> Hum,
>>>
>>>> the original intended behavior for the hint was to return 3D geometries
>>>> any time the hint was not explicitly
>>>> set, that's how we got 3d geometries in GML and KML output even if
>>>> those do not explicitly set any hints,
>>>> while on the other side the renderer manually forces the hint in.
>>>>
>>>
>>> Sorry, i am not sure if you are saying my reasoning is in error? I think
>>> we are saying the same thing? My interpretation is:
>>>
>>> //no hint -> 3D
>>> hints.put(FEATURE_2D, false) -> 3D
>>> hints.put(FEATURE_2D, true) -> 2D
>>>
>>
>> Ah ok, then we are on  the same page, must have misread your previous mail
>>
>>
>>>
>>>
>>>> Do you know of other code paths, besides the renderer, that would break
>>>> when facing 3D data?
>>>>
>>>
>>> Hmmm... can't think of any. Martin is currently looking at the wfs
>>> pipeline, gml 2/3 and geojson and it seems they just happily will
>>> drop/ignore the third coordinate if its there.
>>>
>>
>> Cool
>>
>> Cheers
>> Andrea
>>
>> --
>> Ing. Andrea Aime
>> GeoSolutions S.A.S.
>> Tech lead
>>
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>>
>> phone: +39 0584 962313
>> fax:      +39 0584 962313
>> mob:    +39 339 8844549
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://www.youtube.com/user/GeoSolutionsIT
>> http://www.linkedin.com/in/andreaaime
>> http://twitter.com/geowolf
>>
>>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to