[mapserver-users] ogrinfo not recognized
Vogt, Robert (RCIS)
Robert.Vogt at rcis.com
Mon Oct 31 12:53:00 PDT 2016
Thanks for the reply, I’m not using MS4w because of some restrictions I have.
I did figure out that I needed to run ogrinfo like this though “.\ogrinfo”
This at least launched ogrinfo however passing my connection string “MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=myPort”
caused ogrinfo to crash…does the connection string look correct? Is there somewhere an error might have been written?
Thanks for the help!!
From: Marco Afonso [mailto:mafonso333 at gmail.com]
Sent: Monday, October 31, 2016 3:26 PM
To: Vogt, Robert (RCIS); mapserver
Subject: Re: [mapserver-users] ogrinfo not recognized
Hello,
If you are using MapSever for Windows (MS4W), first you need to run setenv.bat located in the ms4w directory.
This will add libraries paths to windows enviroment variable.
2016-10-31 18:50 GMT+00:00 Vogt, Robert (RCIS) <Robert.Vogt at rcis.com<mailto:Robert.Vogt at rcis.com>>:
I'm trying to test my connection string in ogrinfo.
These are the steps I'm taking...
1. Open PowerShell as administrator
2. Navigate to directory where ogrinfo.exe is located
3. Enter command "ogrinfo MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=myPort"
Then I receive an error stating "ogrinfo : The term 'ogrinfo' is not recognized as the name of a cmdlet"
Not sure what I am doing wrong?
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Regards,
Marco Afonso
http://goo.gl/ZDtQjm
[https://dl.dropboxusercontent.com/u/17607469/qr.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161031/98afe44d/attachment.htm>
More information about the MapServer-users
mailing list