[Geomoose-users] Setting up one layer in Geommose
Anderson, Dean
anderson.dean at co.polk.or.us
Thu Sep 19 16:00:42 PDT 2013
Solly
Sorry for the delays. I have been in meetings all day! So, the biggest
issue I had was the projection of your data. I use ArcMap and looked at
your data with the demo parcels data. As ESRI does projections on the fly
I thought this would work well. It is strange, if I used the projection of
the parcels as my frame, your data does not appear. However if I use your
projection for the frame both will. This kind of confused me but got it
worked out. Give my confusion I elected to do convert the demo to your
projection.
I did get the basic demo working with your one layer. Please see the
attached "DEMO.JPG" file and you will see what the app looks like with your
data. Unfortunately, given your projection the map is already zoomed in as
far as it can be. I am not sure why. Steps to get there.
First I renamed your parcels shape file to be parcels2.shp and copied it to
geomoose\maps\demo\parcels directory. Then I modified Geomoose2 as follows:
1. Created parcels2.map and identify_parcels2.html template (see attached)
and placed them in the geomoose2\maps\demo\parcels
and geomoose2\maps\demo\parcels\templates directories.
2. Updated the mapbook.xml in the conf directory (see attached)
--- Updated the projection
--- Updated the mapextent
--- Added the parcels2.map as a new mapsource
--- Added the parcels2/parcels2 to catalogue
--- Removed default draws to the base layers so only parcels2 will draw
3. Updated the local_settings.ini file and added your projection in the
conf directory (see attached)
4. Updated the geomoose.html file in the htdocs directory and added your
projection (see attached)
5. Created a projections file in htdocs/projections for your projection
(EPSG4148.js) (see attached)
The DEMO will now ONLY work with your one new layer. Given your projection
and my many meetings this seemed to be the fastest/cleanest way to give you
an example.
Good luck and maybe consider changing the projection of your data. (I am
not a projection guy so you probably have a much better handle on this.)
On Thu, Sep 19, 2013 at 9:48 AM, Solly Vuso <sollyvuso at gmail.com> wrote:
> Thank you Dean, I hope you will come right.
> On 19 Sep 2013 6:42 PM, "Anderson, Dean" <anderson.dean at co.polk.or.us>
> wrote:
>
>> Stuck in meetings will need to get back to you. Got you stuff
>> downloaded. Kind of an interesting projection.
>>
>>
>> On Thu, Sep 19, 2013 at 7:27 AM, Solly Vuso <sollyvuso at gmail.com> wrote:
>>
>>> Thank you so much Dean
>>>
>>> I decide to also include the my shapefile that I renamed parcels
>>>
>>> Thank you again Sir
>>>
>>>
>>> On Thu, Sep 19, 2013 at 3:20 PM, Anderson, Dean <
>>> anderson.dean at co.polk.or.us> wrote:
>>>
>>>> I found that an easy way when starting out is to just add the layer to
>>>> the demo. I assume that is what you are doing. Please send your
>>>> makebook.xml and mapfile and I will take a look (not that I am an expert at
>>>> any of this).
>>>>
>>>>
>>>> On Thu, Sep 19, 2013 at 6:17 AM, Solly Vuso <sollyvuso at gmail.com>wrote:
>>>>
>>>>> Yes I do have a demo and its working
>>>>> On 19 Sep 2013 3:15 PM, "Anderson, Dean" <anderson.dean at co.polk.or.us>
>>>>> wrote:
>>>>>
>>>>>> Do you have the DEMO working at your site?
>>>>>>
>>>>>>
>>>>>> On Thu, Sep 19, 2013 at 5:32 AM, Solly Vuso <sollyvuso at gmail.com>wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> I have been struggling to setup up geomoose using my own shapefile,
>>>>>>> but I am not willing give up, I have a request and I know every one is busy
>>>>>>> working on different things but I humble request that when you get time
>>>>>>> even if its 5 min please assist me buy setting only one layer the rest I
>>>>>>> can do. please let me know if you want me to send the sample of my data(one
>>>>>>> shapefile) .
>>>>>>>
>>>>>>> I apologies but I I don't want be quite whilst I have a problem .
>>>>>>> --
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Solly Vuso
>>>>>>> Eastern Cape
>>>>>>> South Africa
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Geomoose-users mailing list
>>>>>>> Geomoose-users at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dean R Anderson
>>>>>> IT Director
>>>>>> Polk County
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Dean R Anderson
>>>> IT Director
>>>> Polk County
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Solly Vuso
>>> Cell:073 3068 170
>>> Fax:086 555 1270
>>>
>>> I may not know what tomorrow holds for me but I do know who holds ma
>>> tomorrow.....
>>>
>>
>>
>>
>> --
>> Dean R Anderson
>> IT Director
>> Polk County
>>
>
--
Dean R Anderson
IT Director
Polk County
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0003.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parcels2.map
Type: application/octet-stream
Size: 942 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapbook.xml
Type: text/xml
Size: 18597 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0001.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local_settings.ini
Type: application/octet-stream
Size: 261 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EPSG4148.js
Type: application/x-javascript
Size: 92 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0001.js>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Demo.JPG
Type: image/jpeg
Size: 91182 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130919/ea27093a/attachment-0001.jpe>
More information about the Geomoose-users
mailing list