[mapguide-users] more 2.1 problems (GDAL this time)
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Thu Jun 18 02:52:00 EDT 2009
You have a forward slash, which should be a backwards one, not sure if
it fixes anything though.
Have you tried the approach described for debugging rasters?
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
The very least, it should display the path to the files it is trying to
open.
Hopefully it will also show if it recognizes the files or not.
Regards, Kenneth Skovhede, GEOGRAF A/S
Andrew DeMerchant skrev:
> It's a folder....but I can't make a single file work either. I've also
> just tried it on a new server install (Windows Server 2008 - vs 2000)
> - same thing. I've tried with and without the backslash - no change.
> Here's the xml:
>
> <?xml version="1.0" encoding="utf-8"?>
> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
> <Provider>OSGeo.Gdal</Provider>
> <Parameter>
> <Name>DefaultRasterFileLocation</Name>
> <Value>%MG_DATA_PATH_ALIAS[435989]%air_photos/</Value>
> </Parameter>
> <SupplementalSpatialContextInfo>
> <Name>unnamed</Name>
>
> <CoordinateSystem>PROJCS["CANST-NB83-CSRS",GEOGCS["LL-CSRS",DATUM["CSRS",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Oblique_Stereographic"],PARAMETER["false_easting",2500000.000],PARAMETER["false_northing",7500000.000],PARAMETER["latitude_of_origin",46.50000000000000],PARAMETER["central_meridian",-66.50000000000000],PARAMETER["scale_factor",0.999912000000],UNIT["Meter",1.00000000000000]]</CoordinateSystem>
> </SupplementalSpatialContextInfo>
> </FeatureSource>
>
> Andrew
>
>
> On 6/16/2009 3:37 AM, Kenneth Skovhede, GEOGRAF A/S wrote:
>> Are you using a single file or a folder?
>> I remember having trouble with OGR, because the alias substitution
>> ends with a backslash,
>> and the OGR provider chokes on it.
>>
>> Do you have the same setup on the test and production server?
>> Could you send the xml for the featuresource?
>>
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> Andrew DeMerchant skrev:
>>> The alias is now pointing to the C drive (local), since mapped
>>> drives was not working. The alias is fine, for sure - I see the
>>> files inside of the alias from within Maestro, as well as
>>> EnumerateUnmanagedData.
>>>
>>> Andrew
>>>
>>>
>>> On 6/15/2009 3:27 PM, Jason Birch wrote:
>>>>
>>>> Andrew,
>>>>
>>>>
>>>>
>>>> What path is the alias pointing to? Have you restarted the server
>>>> since changing to UNCs?
>>>>
>>>>
>>>>
>>>> Jason
>>>>
>>>>
>>>>
>>>> *From:* Andrew DeMerchant
>>>> *Sent:* Monday, June 15, 2009 11:01 AM
>>>> *To:* MapGuide Users Mail List
>>>> *Subject:* Re: [mapguide-users] more 2.1 problems (GDAL this time)
>>>>
>>>>
>>>>
>>>> I just checked with 2.0.2 and I get the same results. Seems like it
>>>> doesn't need to make one in order to work. Any other thoughts? I'm
>>>> still unable to get this working...
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>>
>>> --
>>> *Andrew DeMerchant*
>>> *Computer Technologist*
>>> ph.1-877-2GEMTEC x.163
>>> fax 506-453-9470
>>>
>>> /GEMTEC Limited <http://www.gemtec.ca>
>>> /191 Doak Road
>>> Fredericton, NB, Canada
>>> E3C 2E6
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
> --
> *Andrew DeMerchant*
> *Computer Technologist*
> ph.1-877-2GEMTEC x.163
> fax 506-453-9470
>
> /GEMTEC Limited <http://www.gemtec.ca>
> /191 Doak Road
> Fredericton, NB, Canada
> E3C 2E6
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
Skipped content of type multipart/related
More information about the mapguide-users
mailing list