At the time of filing the petition the petitioner shall record a notice of the pendency of the proceeding, describing with reasonable certainty the lands affected and for what purpose they are to be taken. The notice shall be recorded as follows:
(1) if the lands are registered lands, with the registrar of titles;
(2) if the lands are nonregistered, with the county recorder;
(3) if the lands are both registered and nonregistered, with both the registrar and the county recorder.
If the proceeding be abandoned in whole or in part the petitioner shall within ten days thereafter record a notice to that effect, describing with reasonable certainty the lands so abandoned. The notice of abandonment shall be recorded in the same places as the notice of the pendency of the proceeding.