[mapserver-users] getExtent(c#) with Postgis data ...

Tamas Szekeres szekerest at gmail.com
Tue Apr 7 14:29:12 EDT 2009


Paul,

You can refer to the ogrinfo C# sample application in the gdal source tree:
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/ogrinfo.cs

Best regards,

Tamas



2009/4/7 Paul james <pauljame at gmail.com>

> Thanks Tamas...
>
> But now I´m a little lost... Am I supposed to create a OGR layer?
> Do you have any sample how to get extent´s layer using OGR?
>
> P
>
>
> On Mon, Apr 6, 2009 at 6:30 PM, Tamas Szekeres <szekerest at gmail.com>wrote:
>
>> Choose a package with the best match for your compiler and architecture
>> from here:
>> http://vbkto.dyndns.org:1280/sdk/index.html
>>
>>
>> Best regards,
>>
>> Tamas
>>
>>
>>
>> 2009/4/6 Paul james <pauljame at gmail.com>
>>
>>> Where can I find ogr_csharp.dll ?
>>>
>>> Thanks Tamas!
>>>
>>> Paul
>>>
>>>
>>> On Mon, Apr 6, 2009 at 6:22 PM, Tamas Szekeres <szekerest at gmail.com>wrote:
>>>
>>>> Paul,
>>>>
>>>> Unfortunately this function is not implemented by the MapServer postgis
>>>> driver, you might want to use the OGR C# API (ie. ogr_csharp.dll)  for this
>>>> purpose.
>>>>
>>>>
>>>> Best regards,
>>>>
>>>> Tamas
>>>>
>>>>
>>>>
>>>> 2009/4/6 Paul james <pauljame at gmail.com>
>>>>
>>>>> All value from getExtent (Postgis layer) is : 3.4028234663852886E+38
>>>>>
>>>>> Is it a bug?
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Apr 6, 2009 at 5:56 PM, Tamas Szekeres <szekerest at gmail.com>wrote:
>>>>>
>>>>>> Why don't? That function have already been exposed for *layerObj*with the following signature:
>>>>>>
>>>>>> *public rectObj getExtent(void)*
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Tamas
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2009/4/6 Paul james <pauljame at gmail.com>
>>>>>>
>>>>>>>  Hello, It seems that getExtent (c#) is not implemented...
>>>>>>> Any other solution to get extent of a layer using mapscript?
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> mapserver-users mailing list
>>>>>>> mapserver-users at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090407/bf39fa24/attachment.html


More information about the mapserver-users mailing list